Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 44.91 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 66.56 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3246, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008006/0.3326, allocations: 6.295 MB / 0.564 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004073/0.3366, allocations: 2.006 MB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005501/0.3372, allocations: 27.88 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.3386, allocations: 0.6229 MB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.339, allocations: 206.9 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.3393, allocations: 63.84 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005474/0.3398, allocations: 422.1 kB / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005863/0.3404, allocations: 419 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.3407, allocations: 231.1 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.3412, allocations: 298.8 kB / 0.5681 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.3412, allocations: 36 kB / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.3415, allocations: 91.88 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.3417, allocations: 271.2 kB / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.342, allocations: 306 kB / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009284/0.3429, allocations: 0.8245 MB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3429, allocations: 0 / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3429, allocations: 0 / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3429, allocations: 4 kB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001543/0.3445, allocations: 0.8896 MB / 0.5705 GB, free: 10.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3445, allocations: 11.97 kB / 0.5705 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.927e-05/0.3446, allocations: 17.19 kB / 0.5705 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.3447, allocations: 106.7 kB / 0.5706 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007661/0.3454, allocations: 164.2 kB / 0.5708 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000636/0.3461, allocations: 388.2 kB / 0.5711 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.3461, allocations: 33.11 kB / 0.5712 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.3462, allocations: 39.98 kB / 0.5712 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.3477, allocations: 1.085 MB / 0.5723 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3477, allocations: 3.938 kB / 0.5723 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.3478, allocations: 23.98 kB / 0.5723 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003591/0.3481, allocations: 188.5 kB / 0.5725 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.3493, allocations: 0.7165 MB / 0.5732 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.3536, allocations: 4.607 MB / 0.5777 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.3537, allocations: 58.52 kB / 0.5777 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3538, allocations: 48.91 kB / 0.5778 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3538, allocations: 3.984 kB / 0.5778 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.3539, allocations: 42.44 kB / 0.5778 GB, free: 2.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.3539, allocations: 0 / 0.5778 GB, free: 2.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005578/0.3544, allocations: 221 kB / 0.578 GB, free: 2.641 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.3545, allocations: 51.41 kB / 0.5781 GB, free: 2.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.3555, allocations: 0.8205 MB / 0.5789 GB, free: 1.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3555, allocations: 25.7 kB / 0.5789 GB, free: 1.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.3559, allocations: 0.5179 MB / 0.5794 GB, free: 1.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.3559, allocations: 27.89 kB / 0.5794 GB, free: 1.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.3561, allocations: 170.5 kB / 0.5796 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3563, allocations: 382.8 kB / 0.5799 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.3567, allocations: 177.9 kB / 0.5801 GB, free: 444 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007774/0.3574, allocations: 0.735 MB / 0.5808 GB, free: 15.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.3586, allocations: 0.9743 MB / 0.5818 GB, free: 14.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.3586, allocations: 4 kB / 0.5818 GB, free: 14.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001369/0.36, allocations: 0.8721 MB / 0.5826 GB, free: 13.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.36, allocations: 18.81 kB / 0.5827 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.36, allocations: 28.77 kB / 0.5827 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-05/0.36, allocations: 24 kB / 0.5827 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.3605, allocations: 179.6 kB / 0.5829 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.713e-05/0.3606, allocations: 39.86 kB / 0.5829 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/0.3611, allocations: 127.1 kB / 0.583 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.3612, allocations: 56 kB / 0.5831 GB, free: 12.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.twoHeadedArrow,arrow.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004258/0.3616, allocations: 347.9 kB / 0.5834 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.3617, allocations: 63.58 kB / 0.5835 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.3618, allocations: 73.3 kB / 0.5836 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3618, allocations: 0 / 0.5836 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3618, allocations: 0 / 0.5836 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3618, allocations: 0 / 0.5836 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.3624, allocations: 484.4 kB / 0.584 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3624, allocations: 0 / 0.584 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.3625, allocations: 11.98 kB / 0.584 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3625, allocations: 3.938 kB / 0.584 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3625, allocations: 3.938 kB / 0.584 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3626, allocations: 3.984 kB / 0.584 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3626, allocations: 0 / 0.584 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.363, allocations: 271.2 kB / 0.5843 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3631, allocations: 59.61 kB / 0.5844 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.3631, allocations: 7.922 kB / 0.5844 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3633, allocations: 7.984 kB / 0.5844 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.3634, allocations: 7.984 kB / 0.5844 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3634, allocations: 4 kB / 0.5844 GB, free: 11.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006367/0.364, allocations: 0.5341 MB / 0.5849 GB, free: 10.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.364, allocations: 0 / 0.5849 GB, free: 10.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006309/0.3647, allocations: 139.7 kB / 0.585 GB, free: 10.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008104/0.3655, allocations: 0.8134 MB / 0.5858 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.3662, allocations: 404.6 kB / 0.5862 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3662, allocations: 0 / 0.5862 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.3663, allocations: 51.89 kB / 0.5863 GB, free: 9.469 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.3669, allocations: 89.7 kB / 0.5864 GB, free: 9.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007689/0.3745, allocations: 6.118 MB / 0.5923 GB, free: 2.621 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/0.3753, allocations: 0.9872 MB / 0.5933 GB, free: 1.605 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004961/0.3758, allocations: 204.8 kB / 0.5935 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.3761, allocations: 227.4 kB / 0.5937 GB, free: 1.18 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3761, allocations: 3.938 kB / 0.5937 GB, free: 1.176 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.4122, allocations: 11.73 MB / 0.6052 GB, free: 5.629 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.2, allocations: 8.828 kB / 0.6052 GB, free: 5.625 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.500577868020628]