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.0009962/0.0009963, allocations: 94.31 kB / 16.99 MB, free: 5.938 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.0008679/0.0008685, allocations: 181.7 kB / 17.87 MB, free: 5.609 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.4/1.4, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2319/0.2319, allocations: 44.22 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004163, allocations: 9.531 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.135, allocations: 61.91 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008593/0.1437, allocations: 7.546 MB / 479 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005401/0.1491, allocations: 2.229 MB / 481.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.1504, allocations: 31.94 kB / 481.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.1516, allocations: 346.4 kB / 481.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.1549, allocations: 1.161 MB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.155, allocations: 16 kB / 482.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03277/0.1878, allocations: 23.97 MB / 0.4949 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.1897, allocations: 0.8983 MB / 0.4957 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008943/0.1907, allocations: 406.5 kB / 0.4961 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.192, allocations: 0.5411 MB / 0.4966 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004839/0.1925, allocations: 56 kB / 0.4967 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008237/0.1933, allocations: 271.5 kB / 0.497 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008421/0.1942, allocations: 0.6272 MB / 0.4976 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005684/0.1948, allocations: 388.5 kB / 0.4979 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.1979, allocations: 2.109 MB / 0.5 GB, free: 5.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1979, allocations: 4 kB / 0.5 GB, free: 5.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1979, allocations: 0 / 0.5 GB, free: 5.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001744/0.1981, allocations: 0 / 0.5 GB, free: 5.062 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.004619/0.2027, allocations: 1.73 MB / 0.5017 GB, free: 3.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2028, allocations: 8.031 kB / 0.5017 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006092/0.2089, allocations: 1.83 MB / 0.5035 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.2113, allocations: 0.8399 MB / 0.5043 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.2115, allocations: 90.08 kB / 0.5044 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000783/0.2123, allocations: 111.8 kB / 0.5045 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3112/0.5236, allocations: 4.948 MB / 0.5093 GB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.917e-05/0.5237, allocations: 20.28 kB / 0.5094 GB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.524, allocations: 60.5 kB / 0.5094 GB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002693/0.5267, allocations: 1.186 MB / 0.5106 GB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009484/0.5362, allocations: 4.229 MB / 0.5147 GB, free: 44.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02279/0.559, allocations: 20.61 MB / 0.5348 GB, free: 28.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.5602, allocations: 1.183 MB / 0.536 GB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.5603, allocations: 3.828 kB / 0.536 GB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.5603, allocations: 49.09 kB / 0.536 GB, free: 27.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.498e-06/0.5603, allocations: 0 / 0.536 GB, free: 27.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001658/0.562, allocations: 1.292 MB / 0.5373 GB, free: 26.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.5621, allocations: 116.5 kB / 0.5374 GB, free: 26.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.5648, allocations: 2.456 MB / 0.5398 GB, free: 24.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.5649, allocations: 33.7 kB / 0.5398 GB, free: 24.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009964/0.5659, allocations: 1.826 MB / 0.5416 GB, free: 22.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.5661, allocations: 278.5 kB / 0.5419 GB, free: 22.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5662, allocations: 72 kB / 0.542 GB, free: 22.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002644/0.5665, allocations: 0.515 MB / 0.5425 GB, free: 21.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.5677, allocations: 1.011 MB / 0.5434 GB, free: 20.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002508/0.5702, allocations: 3.704 MB / 0.5471 GB, free: 15.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.5723, allocations: 1.941 MB / 0.549 GB, free: 13.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.542e-05/0.5723, allocations: 28 kB / 0.549 GB, free: 13.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006832/0.5792, allocations: 4.423 MB / 0.5533 GB, free: 9.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.718e-05/0.5793, allocations: 48 kB / 0.5533 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.215e-05/0.5794, allocations: 99.28 kB / 0.5534 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001082/0.5795, allocations: 140.8 kB / 0.5536 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/0.5815, allocations: 0.8927 MB / 0.5544 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001046/0.5816, allocations: 191.2 kB / 0.5546 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.5847, allocations: 0.5616 MB / 0.5552 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/0.585, allocations: 249.2 kB / 0.5554 GB, free: 7.227 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00176/0.5868, allocations: 1.194 MB / 0.5566 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.5871, allocations: 193.4 kB / 0.5568 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.5874, allocations: 226.1 kB / 0.557 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/0.5874, allocations: 8 kB / 0.557 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.5874, allocations: 4 kB / 0.557 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5875, allocations: 4 kB / 0.557 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/0.5908, allocations: 2.026 MB / 0.559 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5908, allocations: 0 / 0.559 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.5911, allocations: 67.89 kB / 0.559 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.5911, allocations: 0 / 0.559 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.5911, allocations: 8 kB / 0.559 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5911, allocations: 8 kB / 0.5591 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5911, allocations: 0 / 0.5591 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008245/0.5919, allocations: 1.078 MB / 0.5601 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/0.5923, allocations: 262.4 kB / 0.5604 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.5925, allocations: 10.5 kB / 0.5604 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.5929, allocations: 19.98 kB / 0.5604 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.593, allocations: 23.92 kB / 0.5604 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.593, allocations: 20 kB / 0.5604 GB, free: 1.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001805/0.5948, allocations: 1.502 MB / 0.5619 GB, free: 460 kB / 382.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.5948, allocations: 0 / 0.5619 GB, free: 460 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.003252/0.5981, allocations: 0.5426 MB / 0.5624 GB, free: 15.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003816/0.5985, allocations: 128.1 kB / 0.5625 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003754/0.6022, allocations: 2.307 MB / 0.5648 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6023, allocations: 480 / 0.5648 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003989/0.6027, allocations: 337.5 kB / 0.5651 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/0.6034, allocations: 157.5 kB / 0.5653 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007034/0.6105, allocations: 4.668 MB / 0.5698 GB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/0.6122, allocations: 1.913 MB / 0.5717 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00288/0.6151, allocations: 1.264 MB / 0.5729 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.6154, allocations: 131.4 kB / 0.5731 GB, free: 4.973 MB / 398.1 MB Notification: Performance of SimCode: time 1.362e-06/0.6154, allocations: 0 / 0.5731 GB, free: 4.973 MB / 398.1 MB Notification: Performance of Templates: time 0.02614/0.6416, allocations: 12.57 MB / 0.5853 GB, free: 8.492 MB / 414.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches