Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00149/0.00149, allocations: 116.9 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001594, allocations: 212.7 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2145/0.2145, allocations: 46.92 MB / 357.7 MB, free: 10.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 79.88 kB / 0.4916 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1295, allocations: 66.05 MB / 0.5561 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007207/0.1368, allocations: 5.413 MB / 0.5614 GB, free: 76 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003523/0.1403, allocations: 1.822 MB / 0.5632 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005062/0.1408, allocations: 19.94 kB / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.1421, allocations: 0.5446 MB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.1441, allocations: 0.9185 MB / 0.5646 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.1442, allocations: 19.91 kB / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.146, allocations: 1.533 MB / 0.5662 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007977/0.1468, allocations: 0.6682 MB / 0.5668 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005952/0.1474, allocations: 0.5291 MB / 0.5673 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/0.1493, allocations: 1.707 MB / 0.569 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002378/0.1495, allocations: 88 kB / 0.5691 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006103/0.1502, allocations: 323.5 kB / 0.5694 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006541/0.1508, allocations: 0.7164 MB / 0.5701 GB, free: 7.156 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007594/0.1516, allocations: 0.8651 MB / 0.5709 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.1546, allocations: 2.811 MB / 0.5737 GB, free: 3.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1546, allocations: 3.984 kB / 0.5737 GB, free: 3.457 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1546, allocations: 4 kB / 0.5737 GB, free: 3.453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.1547, allocations: 0 / 0.5737 GB, free: 3.453 MB / 430.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.003012/0.1577, allocations: 2.105 MB / 0.5757 GB, free: 1.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1577, allocations: 12.03 kB / 0.5758 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.453e-05/0.1578, allocations: 42.38 kB / 0.5758 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004071/0.1582, allocations: 377.8 kB / 0.5762 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/0.1633, allocations: 1.512 MB / 0.5776 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.1648, allocations: 0.853 MB / 0.5785 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.969e-05/0.1649, allocations: 94.03 kB / 0.5786 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.1651, allocations: 103.9 kB / 0.5787 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006635/0.1717, allocations: 4.976 MB / 0.5835 GB, free: 8.801 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/0.1717, allocations: 19.81 kB / 0.5835 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.1719, allocations: 59.91 kB / 0.5836 GB, free: 8.723 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001995/0.1739, allocations: 1.189 MB / 0.5848 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006867/0.1808, allocations: 4.254 MB / 0.5889 GB, free: 3.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2621/0.4428, allocations: 20.55 MB / 0.609 GB, free: 17.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.4444, allocations: 1.177 MB / 0.6101 GB, free: 16.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.4449, allocations: 344.1 kB / 0.6105 GB, free: 16.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.4449, allocations: 12.7 kB / 0.6105 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.4449, allocations: 40.28 kB / 0.6105 GB, free: 16.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.956e-06/0.4449, allocations: 0.8438 kB / 0.6105 GB, free: 16.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001945/0.4469, allocations: 1.159 MB / 0.6116 GB, free: 16.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.4469, allocations: 133.1 kB / 0.6118 GB, free: 16.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/0.4501, allocations: 2.431 MB / 0.6141 GB, free: 15.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.4502, allocations: 31.67 kB / 0.6142 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.4514, allocations: 1.878 MB / 0.616 GB, free: 13.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.4516, allocations: 312.2 kB / 0.6163 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000878/0.4525, allocations: 0.7946 MB / 0.6171 GB, free: 13.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.4526, allocations: 355.7 kB / 0.6174 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.4541, allocations: 1.034 MB / 0.6184 GB, free: 12.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/0.4567, allocations: 3.691 MB / 0.622 GB, free: 8.629 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00492/0.4616, allocations: 5.164 MB / 0.6271 GB, free: 3.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-05/0.4617, allocations: 27.62 kB / 0.6271 GB, free: 3.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007149/0.4688, allocations: 4.471 MB / 0.6315 GB, free: 2.055 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/0.4689, allocations: 47.12 kB / 0.6315 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/0.469, allocations: 94.66 kB / 0.6316 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/0.4691, allocations: 125.7 kB / 0.6317 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.4712, allocations: 0.862 MB / 0.6326 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001625/0.4713, allocations: 189.2 kB / 0.6327 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.4738, allocations: 0.5653 MB / 0.6333 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/0.4741, allocations: 254.6 kB / 0.6335 GB, free: 1.508 MB / 446.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.001329/0.4754, allocations: 1.193 MB / 0.6347 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.4757, allocations: 193 kB / 0.6349 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.476, allocations: 218.8 kB / 0.6351 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.966e-05/0.476, allocations: 18.25 kB / 0.6351 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/0.4761, allocations: 4.312 kB / 0.6351 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.4761, allocations: 3.891 kB / 0.6351 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.4789, allocations: 2.068 MB / 0.6371 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.4789, allocations: 0 / 0.6371 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.4792, allocations: 62.98 kB / 0.6372 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.4792, allocations: 0 / 0.6372 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.4792, allocations: 15.66 kB / 0.6372 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.4792, allocations: 1.688 kB / 0.6372 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4792, allocations: 3.812 kB / 0.6372 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.4803, allocations: 1.207 MB / 0.6384 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.4806, allocations: 260.7 kB / 0.6386 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.4808, allocations: 15.56 kB / 0.6387 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.4812, allocations: 18.7 kB / 0.6387 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.641e-05/0.4813, allocations: 26.38 kB / 0.6387 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.4813, allocations: 17.69 kB / 0.6387 GB, free: 14.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001703/0.483, allocations: 1.49 MB / 0.6402 GB, free: 14.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.483, allocations: 0 / 0.6402 GB, free: 14.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002701/0.4857, allocations: 0.5278 MB / 0.6407 GB, free: 13.57 MB / 462.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.001713/0.4875, allocations: 1.802 MB / 0.6424 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003632/0.4911, allocations: 2.27 MB / 0.6447 GB, free: 9.492 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4911, allocations: 192 / 0.6447 GB, free: 9.492 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.4915, allocations: 339.7 kB / 0.645 GB, free: 9.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4926, allocations: 168.1 kB / 0.6452 GB, free: 9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03255/0.5251, allocations: 23.09 MB / 0.6677 GB, free: 14.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.5269, allocations: 1.866 MB / 0.6695 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002645/0.5296, allocations: 1.255 MB / 0.6707 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.5306, allocations: 0.7922 MB / 0.6715 GB, free: 10.57 MB / 494.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5306, allocations: 0 / 0.6715 GB, free: 10.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0602/0.5908, allocations: 30.15 MB / 0.701 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.09, allocations: 14.91 kB / 0.701 GB, free: 12.57 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 16.235590795986354]