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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009772/0.0009773, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008137/0.0008137, allocations: 99.44 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.326/0.326, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 8 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 61.91 MB / 0.5096 GB, free: 38.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.461, allocations: 93.81 MB / 0.6012 GB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.4613, allocations: 71.97 kB / 0.6012 GB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1025/0.5638, allocations: 42.31 MB / 0.6425 GB, free: 6.531 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5639, allocations: 0 / 0.6425 GB, free: 6.531 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.116e-05/0.5639, allocations: 32 kB / 0.6426 GB, free: 6.5 MB / 458.7 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.004236/0.5682, allocations: 1.945 MB / 0.6445 GB, free: 4.496 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5682, allocations: 11.97 kB / 0.6445 GB, free: 4.484 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006303/0.5746, allocations: 1.69 MB / 0.6461 GB, free: 2.789 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/0.5772, allocations: 1.113 MB / 0.6472 GB, free: 1.633 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.5773, allocations: 143.7 kB / 0.6474 GB, free: 1.492 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.5776, allocations: 179.9 kB / 0.6475 GB, free: 1.316 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007594/0.5853, allocations: 5.526 MB / 0.6529 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-05/0.5854, allocations: 31.69 kB / 0.653 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003148/0.5857, allocations: 103.9 kB / 0.6531 GB, free: 10.92 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007008/0.5864, allocations: 0.5729 MB / 0.6536 GB, free: 10.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007065/0.5935, allocations: 4.53 MB / 0.658 GB, free: 5.805 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.302/0.8955, allocations: 27.93 MB / 0.6853 GB, free: 93.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.8968, allocations: 1.242 MB / 0.6865 GB, free: 92.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001955/0.8988, allocations: 1.447 MB / 0.6879 GB, free: 91.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.8988, allocations: 41.95 kB / 0.688 GB, free: 91.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 3.226e-06/0.8988, allocations: 0 / 0.688 GB, free: 91.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.001798/0.9007, allocations: 1.347 MB / 0.6893 GB, free: 91.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.9007, allocations: 134.3 kB / 0.6894 GB, free: 91.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.9036, allocations: 2.327 MB / 0.6917 GB, free: 91.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.9037, allocations: 26.48 kB / 0.6917 GB, free: 91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008776/0.9046, allocations: 1.826 MB / 0.6935 GB, free: 90 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.9047, allocations: 267.2 kB / 0.6938 GB, free: 89.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.9049, allocations: 75.44 kB / 0.6938 GB, free: 89.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.9051, allocations: 0.5184 MB / 0.6943 GB, free: 89.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.9063, allocations: 1.077 MB / 0.6954 GB, free: 89.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.9085, allocations: 3.765 MB / 0.6991 GB, free: 86.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.9107, allocations: 1.987 MB / 0.701 GB, free: 86.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.926e-05/0.9107, allocations: 28.22 kB / 0.701 GB, free: 86.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005875/0.9166, allocations: 4.578 MB / 0.7055 GB, free: 85.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.152e-05/0.9167, allocations: 45.78 kB / 0.7056 GB, free: 85.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.961e-05/0.9168, allocations: 98.59 kB / 0.7057 GB, free: 85.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.9169, allocations: 141.4 kB / 0.7058 GB, free: 85.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.9191, allocations: 0.9031 MB / 0.7067 GB, free: 85.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001106/0.9192, allocations: 189.8 kB / 0.7068 GB, free: 85.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.9216, allocations: 0.5726 MB / 0.7074 GB, free: 85.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002944/0.922, allocations: 290.5 kB / 0.7077 GB, free: 85.2 MB / 490.7 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 (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.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,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 (478): * Single equations (assignments): 475 * 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.001438/0.9234, allocations: 1.189 MB / 0.7088 GB, free: 84.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.9237, allocations: 182.5 kB / 0.709 GB, free: 84.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.924, allocations: 225.9 kB / 0.7092 GB, free: 84.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.9241, allocations: 9.125 kB / 0.7092 GB, free: 84.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.9241, allocations: 0 / 0.7092 GB, free: 84.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.9241, allocations: 0 / 0.7092 GB, free: 84.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.9272, allocations: 1.922 MB / 0.7111 GB, free: 83.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.9273, allocations: 1.562 kB / 0.7111 GB, free: 83.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.9275, allocations: 60 kB / 0.7112 GB, free: 83.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.9275, allocations: 4.094 kB / 0.7112 GB, free: 83.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.9276, allocations: 8 kB / 0.7112 GB, free: 83.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.9276, allocations: 5.938 kB / 0.7112 GB, free: 83.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9276, allocations: 3.375 kB / 0.7112 GB, free: 83.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009061/0.9285, allocations: 1.12 MB / 0.7123 GB, free: 83.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/0.929, allocations: 291.9 kB / 0.7126 GB, free: 82.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.9291, allocations: 8.125 kB / 0.7126 GB, free: 82.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.9296, allocations: 24.12 kB / 0.7126 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.9297, allocations: 30.36 kB / 0.7126 GB, free: 82.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.9297, allocations: 21.89 kB / 0.7127 GB, free: 82.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001956/0.9317, allocations: 1.603 MB / 0.7142 GB, free: 82.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9317, allocations: 0 / 0.7142 GB, free: 82.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002891/0.9346, allocations: 0.5638 MB / 0.7148 GB, free: 82.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (33): * Single equations (assignments): 30 * 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.0002667/0.9349, allocations: 122.6 kB / 0.7149 GB, free: 82.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003583/0.9384, allocations: 2.327 MB / 0.7172 GB, free: 81.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9385, allocations: 0 / 0.7172 GB, free: 81.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.9388, allocations: 327.6 kB / 0.7175 GB, free: 81.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009346/0.9398, allocations: 159.2 kB / 0.7176 GB, free: 81.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007214/0.947, allocations: 4.661 MB / 0.7222 GB, free: 78.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.9487, allocations: 1.892 MB / 0.724 GB, free: 77.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003451/0.9521, allocations: 1.261 MB / 0.7253 GB, free: 77.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/0.9527, allocations: 157.7 kB / 0.7254 GB, free: 77.71 MB / 490.7 MB Notification: Performance of SimCode: time 9.61e-07/0.9527, allocations: 3.281 kB / 0.7254 GB, free: 77.71 MB / 490.7 MB Notification: Performance of Templates: time 0.03081/0.9835, allocations: 14.77 MB / 0.7398 GB, free: 76.83 MB / 490.7 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