Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008074/0.0008074, allocations: 97.67 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009441/0.0009442, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.8 MB / 246.9 MB, free: 11.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.224/0.224, allocations: 46.2 MB / 345.3 MB, free: 11.34 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 11.98 kB / 419.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 63.56 MB / 483.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.009141/0.1297, allocations: 8.399 MB / 491.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005043/0.1347, allocations: 2.329 MB / 493.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006547/0.1354, allocations: 27.94 kB / 493.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005839/0.136, allocations: 227 kB / 494.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.1379, allocations: 0.8528 MB / 495 MB, free: 8.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.509e-05/0.138, allocations: 19.91 kB / 495 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00391/0.1419, allocations: 3.277 MB / 498.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.1435, allocations: 0.9583 MB / 499.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006013/0.1441, allocations: 425.9 kB / 499.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.1451, allocations: 0.7511 MB / 0.4887 GB, free: 2.758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.1453, allocations: 59.94 kB / 0.4887 GB, free: 2.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006045/0.1459, allocations: 295.5 kB / 0.489 GB, free: 2.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006785/0.1466, allocations: 0.6932 MB / 0.4897 GB, free: 1.715 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000823/0.1474, allocations: 0.8745 MB / 0.4905 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.1499, allocations: 2.565 MB / 0.493 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1499, allocations: 4 kB / 0.4931 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1499, allocations: 4 kB / 0.4931 GB, free: 14.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.141e-05/0.15, allocations: 0 / 0.4931 GB, free: 14.25 MB / 382.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.002508/0.1525, allocations: 1.684 MB / 0.4947 GB, free: 12.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1525, allocations: 8.875 kB / 0.4947 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.1577, allocations: 1.546 MB / 0.4962 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.1591, allocations: 0.8488 MB / 0.497 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.244e-05/0.1592, allocations: 82.47 kB / 0.4971 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/0.1594, allocations: 119.8 kB / 0.4972 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006553/0.166, allocations: 4.98 MB / 0.5021 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/0.166, allocations: 19.81 kB / 0.5021 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.1662, allocations: 55.91 kB / 0.5022 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001974/0.1682, allocations: 1.185 MB / 0.5033 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2312/0.3994, allocations: 4.244 MB / 0.5075 GB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/0.4222, allocations: 20.62 MB / 0.5276 GB, free: 22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.4235, allocations: 1.169 MB / 0.5288 GB, free: 21.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004974/0.424, allocations: 347 kB / 0.5291 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.4241, allocations: 8.719 kB / 0.5291 GB, free: 21.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.4241, allocations: 41.33 kB / 0.5291 GB, free: 20.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.086e-06/0.4241, allocations: 0.9375 kB / 0.5291 GB, free: 20.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001653/0.4258, allocations: 1.041 MB / 0.5302 GB, free: 20.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.4258, allocations: 110.9 kB / 0.5303 GB, free: 20.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004426/0.4303, allocations: 2.464 MB / 0.5327 GB, free: 19.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.128e-05/0.4304, allocations: 37.25 kB / 0.5327 GB, free: 19.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001425/0.4318, allocations: 1.822 MB / 0.5345 GB, free: 18.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.4321, allocations: 276.5 kB / 0.5347 GB, free: 17.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005469/0.4327, allocations: 336 kB / 0.5351 GB, free: 17.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4328, allocations: 352 kB / 0.5354 GB, free: 17.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/0.4353, allocations: 1.022 MB / 0.5364 GB, free: 17.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003907/0.4392, allocations: 3.729 MB / 0.54 GB, free: 12.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007572/0.4468, allocations: 5.184 MB / 0.5451 GB, free: 7.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001399/0.447, allocations: 27.84 kB / 0.5451 GB, free: 7.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.0105/0.4575, allocations: 4.461 MB / 0.5495 GB, free: 5.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.716e-05/0.4576, allocations: 47.06 kB / 0.5495 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/0.4578, allocations: 94.59 kB / 0.5496 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.4579, allocations: 131.2 kB / 0.5497 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/0.4614, allocations: 0.883 MB / 0.5506 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001716/0.4616, allocations: 191.2 kB / 0.5508 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004028/0.4656, allocations: 0.5575 MB / 0.5513 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003804/0.466, allocations: 260.7 kB / 0.5516 GB, free: 3.766 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * 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 (484): * Single equations (assignments): 481 * Array equations: 3 * 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.002021/0.4681, allocations: 1.189 MB / 0.5527 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.4684, allocations: 189.5 kB / 0.5529 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.4689, allocations: 221.9 kB / 0.5531 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.4689, allocations: 9.016 kB / 0.5531 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.469, allocations: 0 / 0.5531 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.469, allocations: 4 kB / 0.5531 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/0.4732, allocations: 2.035 MB / 0.5551 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.4732, allocations: 8.203 kB / 0.5551 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.4737, allocations: 59.95 kB / 0.5552 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.4737, allocations: 4 kB / 0.5552 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.4738, allocations: 13.03 kB / 0.5552 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.4738, allocations: 4 kB / 0.5552 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.4738, allocations: 3.938 kB / 0.5552 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.4757, allocations: 1.052 MB / 0.5563 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.4763, allocations: 254.5 kB / 0.5565 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.4766, allocations: 17.08 kB / 0.5565 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007983/0.4774, allocations: 15.98 kB / 0.5565 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/0.4775, allocations: 23.91 kB / 0.5565 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.439e-05/0.4776, allocations: 16.78 kB / 0.5566 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00328/0.4809, allocations: 1.514 MB / 0.558 GB, free: 13.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4809, allocations: 3.938 kB / 0.558 GB, free: 13.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004751/0.4856, allocations: 0.5234 MB / 0.5586 GB, free: 12.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * 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.0003996/0.4861, allocations: 134.9 kB / 0.5587 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005884/0.492, allocations: 2.313 MB / 0.5609 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.492, allocations: 0 / 0.5609 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.4927, allocations: 338.8 kB / 0.5613 GB, free: 9.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.4948, allocations: 161.6 kB / 0.5614 GB, free: 9.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00867/0.5035, allocations: 4.901 MB / 0.5662 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/0.5055, allocations: 1.858 MB / 0.568 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003001/0.5085, allocations: 1.267 MB / 0.5693 GB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.5088, allocations: 139.4 kB / 0.5694 GB, free: 1.348 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5088, allocations: 0 / 0.5694 GB, free: 1.348 MB / 398.1 MB Notification: Performance of Templates: time 0.02896/0.5378, allocations: 12.7 MB / 0.5818 GB, free: 4.727 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches