Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001192, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.211/0.211, allocations: 44.17 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 60.69 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.118, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007777/0.1258, allocations: 5.425 MB / 476.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004349/0.1303, allocations: 1.752 MB / 477.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000556/0.1308, allocations: 23.94 kB / 477.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.1322, allocations: 0.5174 MB / 478.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.1341, allocations: 0.9068 MB / 479.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.1342, allocations: 19.91 kB / 479.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001861/0.1361, allocations: 1.542 MB / 480.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009696/0.1371, allocations: 0.7543 MB / 481.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006699/0.1377, allocations: 0.5213 MB / 482.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.1393, allocations: 1.504 MB / 483.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.1396, allocations: 88 kB / 483.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005871/0.1402, allocations: 319.5 kB / 484 MB, free: 220 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005656/0.1407, allocations: 0.7127 MB / 484.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006894/0.1414, allocations: 0.8807 MB / 485.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.1438, allocations: 2.821 MB / 488.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.1438, allocations: 3.984 kB / 488.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1438, allocations: 0 / 488.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.561e-05/0.1439, allocations: 0 / 488.5 MB, free: 11.78 MB / 366.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.002579/0.1465, allocations: 2.077 MB / 490.5 MB, free: 9.641 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1465, allocations: 12.03 kB / 490.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/0.1511, allocations: 1.503 MB / 492.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.1527, allocations: 0.8566 MB / 492.9 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.819e-05/0.1528, allocations: 90.45 kB / 493 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.1531, allocations: 107.8 kB / 493.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005727/0.1588, allocations: 4.976 MB / 498.1 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/0.1589, allocations: 19.81 kB / 498.1 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/0.1591, allocations: 67.89 kB / 498.2 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001879/0.161, allocations: 1.181 MB / 499.4 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006352/0.1673, allocations: 4.258 MB / 0.4918 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.329/0.4964, allocations: 20.51 MB / 0.5118 GB, free: 32.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.4979, allocations: 1.224 MB / 0.513 GB, free: 31.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000515/0.4984, allocations: 384.3 kB / 0.5134 GB, free: 31.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.4985, allocations: 3.5 kB / 0.5134 GB, free: 31.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.4985, allocations: 40.84 kB / 0.5134 GB, free: 31.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 4.198e-06/0.4985, allocations: 3.281 kB / 0.5134 GB, free: 31.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.002009/0.5005, allocations: 1.144 MB / 0.5146 GB, free: 31.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.5006, allocations: 134.1 kB / 0.5147 GB, free: 31.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/0.5043, allocations: 2.434 MB / 0.5171 GB, free: 30.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.5043, allocations: 31.23 kB / 0.5171 GB, free: 30.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.5056, allocations: 1.797 MB / 0.5188 GB, free: 28.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.5058, allocations: 309.4 kB / 0.5191 GB, free: 28.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.5069, allocations: 0.7829 MB / 0.5199 GB, free: 28.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5071, allocations: 352.9 kB / 0.5202 GB, free: 27.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.5091, allocations: 1.031 MB / 0.5212 GB, free: 27.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003082/0.5122, allocations: 3.695 MB / 0.5249 GB, free: 23.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005126/0.5173, allocations: 5.164 MB / 0.5299 GB, free: 19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.889e-05/0.5174, allocations: 27.97 kB / 0.5299 GB, free: 19 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006785/0.5242, allocations: 4.447 MB / 0.5343 GB, free: 17.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.5243, allocations: 44.34 kB / 0.5343 GB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.334e-05/0.5244, allocations: 93.88 kB / 0.5344 GB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.5245, allocations: 127.8 kB / 0.5345 GB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.5265, allocations: 0.8731 MB / 0.5354 GB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001207/0.5266, allocations: 185.3 kB / 0.5356 GB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/0.5292, allocations: 0.5469 MB / 0.5361 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/0.5294, allocations: 260.5 kB / 0.5363 GB, free: 16.74 MB / 382.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.00136/0.5308, allocations: 1.19 MB / 0.5375 GB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.531, allocations: 186.3 kB / 0.5377 GB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.5313, allocations: 229.2 kB / 0.5379 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/0.5313, allocations: 13.94 kB / 0.5379 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.5314, allocations: 0 / 0.5379 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5314, allocations: 7.094 kB / 0.5379 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.5345, allocations: 2.068 MB / 0.5399 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5345, allocations: 4 kB / 0.5399 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.5347, allocations: 63.91 kB / 0.54 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.5347, allocations: 4 kB / 0.54 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.5348, allocations: 11.98 kB / 0.54 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.5348, allocations: 4 kB / 0.54 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5348, allocations: 0 / 0.54 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.5357, allocations: 1.209 MB / 0.5412 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.536, allocations: 243.1 kB / 0.5414 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.5362, allocations: 8 kB / 0.5414 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/0.5366, allocations: 19.97 kB / 0.5415 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.5367, allocations: 27.91 kB / 0.5415 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.5367, allocations: 24 kB / 0.5415 GB, free: 13.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001416/0.5382, allocations: 1.494 MB / 0.543 GB, free: 11.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5382, allocations: 3.938 kB / 0.543 GB, free: 11.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002508/0.5407, allocations: 0.5365 MB / 0.5435 GB, free: 11.21 MB / 382.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.0002529/0.5409, allocations: 125.6 kB / 0.5436 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002595/0.5435, allocations: 2.354 MB / 0.5459 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5436, allocations: 0 / 0.5459 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.5439, allocations: 377.6 kB / 0.5463 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009526/0.5448, allocations: 162.8 kB / 0.5464 GB, free: 8.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004518/0.5494, allocations: 4.004 MB / 0.5503 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.5506, allocations: 1.872 MB / 0.5522 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00201/0.5526, allocations: 1.247 MB / 0.5534 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.5528, allocations: 127.4 kB / 0.5535 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5528, allocations: 0 / 0.5535 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of Templates: time 0.02606/0.5789, allocations: 11.89 MB / 0.5651 GB, free: 5.113 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches