Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.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.001242/0.001242, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001402/0.001402, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 46.93 MB / 361.6 MB, free: 4.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.91 kB / 0.4969 GB, free: 7.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3299, allocations: 66.02 MB / 0.5614 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006723/0.3366, allocations: 5.452 MB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003458/0.3401, allocations: 1.822 MB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000431/0.3405, allocations: 19.94 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.3418, allocations: 0.5563 MB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.3436, allocations: 0.9263 MB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.051e-05/0.3437, allocations: 11.98 kB / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.3456, allocations: 1.522 MB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008871/0.3465, allocations: 0.7477 MB / 0.5722 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006412/0.3471, allocations: 0.5291 MB / 0.5727 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.3492, allocations: 1.703 MB / 0.5744 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.3495, allocations: 88 kB / 0.5744 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.3501, allocations: 331.5 kB / 0.5748 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006105/0.3507, allocations: 0.7125 MB / 0.5755 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007259/0.3514, allocations: 0.8768 MB / 0.5763 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002891/0.3543, allocations: 2.804 MB / 0.5791 GB, free: 2.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3543, allocations: 4 kB / 0.5791 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3543, allocations: 0 / 0.5791 GB, free: 2.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.047e-05/0.3544, allocations: 4 kB / 0.5791 GB, free: 2.328 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.003212/0.3576, allocations: 2.026 MB / 0.581 GB, free: 264 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3576, allocations: 12.03 kB / 0.5811 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.868e-05/0.3577, allocations: 42.38 kB / 0.5811 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003915/0.3581, allocations: 377.8 kB / 0.5815 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004969/0.363, allocations: 1.512 MB / 0.5829 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.3647, allocations: 0.7964 MB / 0.5837 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/0.3648, allocations: 90.03 kB / 0.5838 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.365, allocations: 111.9 kB / 0.5839 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00727/0.3723, allocations: 4.976 MB / 0.5888 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/0.3723, allocations: 23.75 kB / 0.5888 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/0.3725, allocations: 67.89 kB / 0.5888 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001946/0.3745, allocations: 1.178 MB / 0.59 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007163/0.3816, allocations: 4.258 MB / 0.5942 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02167/0.4033, allocations: 20.47 MB / 0.6141 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.4046, allocations: 0.7358 MB / 0.6149 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.4051, allocations: 347.2 kB / 0.6152 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4051, allocations: 4 kB / 0.6152 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.4051, allocations: 46.5 kB / 0.6152 GB, free: 11.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.956e-06/0.4052, allocations: 0 / 0.6152 GB, free: 11.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001773/0.4069, allocations: 1.154 MB / 0.6164 GB, free: 10.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/0.407, allocations: 136.5 kB / 0.6165 GB, free: 10.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/0.4104, allocations: 2.429 MB / 0.6189 GB, free: 8.113 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.4104, allocations: 33.7 kB / 0.6189 GB, free: 8.074 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.4118, allocations: 1.874 MB / 0.6207 GB, free: 6.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.4121, allocations: 321.8 kB / 0.621 GB, free: 5.863 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009237/0.413, allocations: 0.7901 MB / 0.6218 GB, free: 5.066 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4132, allocations: 353.9 kB / 0.6222 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.4146, allocations: 1.03 MB / 0.6232 GB, free: 3.684 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003393/0.418, allocations: 3.687 MB / 0.6268 GB, free: 14.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005721/0.4237, allocations: 5.157 MB / 0.6318 GB, free: 8.172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.664e-05/0.4238, allocations: 31.94 kB / 0.6318 GB, free: 8.141 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007176/0.431, allocations: 4.458 MB / 0.6362 GB, free: 3.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.378e-05/0.431, allocations: 50.34 kB / 0.6362 GB, free: 3.633 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/0.4311, allocations: 100.1 kB / 0.6363 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.4313, allocations: 124 kB / 0.6364 GB, free: 3.414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.4335, allocations: 0.8616 MB / 0.6373 GB, free: 2.551 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001526/0.4336, allocations: 191.2 kB / 0.6375 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.436, allocations: 0.566 MB / 0.638 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000299/0.4363, allocations: 260 kB / 0.6383 GB, free: 1.539 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * 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.001501/0.4378, allocations: 1.188 MB / 0.6394 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.4381, allocations: 206.6 kB / 0.6396 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.4384, allocations: 213.9 kB / 0.6398 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-05/0.4384, allocations: 16 kB / 0.6398 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4384, allocations: 0 / 0.6398 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4384, allocations: 7.984 kB / 0.6399 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/0.4421, allocations: 2.037 MB / 0.6418 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4421, allocations: 0 / 0.6418 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.4424, allocations: 67.89 kB / 0.6419 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4424, allocations: 0 / 0.6419 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.4424, allocations: 16 kB / 0.6419 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4424, allocations: 0 / 0.6419 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.4424, allocations: 7.938 kB / 0.6419 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.4437, allocations: 1.201 MB / 0.6431 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003392/0.444, allocations: 178.5 kB / 0.6433 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.4442, allocations: 15.98 kB / 0.6433 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.4447, allocations: 19.98 kB / 0.6433 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.4447, allocations: 23.89 kB / 0.6433 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.4448, allocations: 27.98 kB / 0.6434 GB, free: 12.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001912/0.4467, allocations: 1.49 MB / 0.6448 GB, free: 10.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4467, allocations: 0 / 0.6448 GB, free: 10.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002523/0.4492, allocations: 0.5264 MB / 0.6453 GB, free: 10.21 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * 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.001691/0.4509, allocations: 1.802 MB / 0.6471 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003512/0.4544, allocations: 2.272 MB / 0.6493 GB, free: 6.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.4544, allocations: 4.875 kB / 0.6493 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.4549, allocations: 331.7 kB / 0.6496 GB, free: 5.797 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.4559, allocations: 166.6 kB / 0.6498 GB, free: 5.633 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/0.4847, allocations: 23.1 MB / 0.6723 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/0.4865, allocations: 1.865 MB / 0.6742 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002496/0.489, allocations: 1.251 MB / 0.6754 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000979/0.49, allocations: 0.7805 MB / 0.6761 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of SimCode: time 1.302e-06/0.49, allocations: 4 kB / 0.6761 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06563/0.5556, allocations: 33.35 MB / 0.7087 GB, free: 6.035 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.39, allocations: 3.938 kB / 0.7087 GB, free: 6.031 MB / 0.545 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.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: 19.535561359021813]