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.0009274/0.0009272, allocations: 183 kB / 18.09 MB, free: 3.625 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.352/1.352, allocations: 223.3 MB / 242.1 MB, free: 9.938 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.0007508/0.0007507, allocations: 97.45 kB / 293.3 MB, free: 10.55 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.3301/0.3301, allocations: 44.14 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003751, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3413, allocations: 61.88 MB / 0.5107 GB, free: 37.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.463, allocations: 93.86 MB / 0.6024 GB, free: 1.195 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.4632, allocations: 75.95 kB / 0.6024 GB, free: 1.125 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0965/0.5597, allocations: 41.57 MB / 0.643 GB, free: 7.164 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5598, allocations: 0 / 0.643 GB, free: 7.164 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.907e-05/0.5598, allocations: 32 kB / 0.6431 GB, free: 7.133 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.003452/0.5633, allocations: 1.914 MB / 0.6449 GB, free: 5.156 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.5633, allocations: 15.97 kB / 0.645 GB, free: 5.141 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005927/0.5693, allocations: 1.687 MB / 0.6466 GB, free: 3.449 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.5715, allocations: 1.126 MB / 0.6477 GB, free: 2.285 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.5716, allocations: 144 kB / 0.6478 GB, free: 2.145 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/0.572, allocations: 184.3 kB / 0.648 GB, free: 1.965 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007047/0.579, allocations: 5.539 MB / 0.6534 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.684e-05/0.5791, allocations: 35.81 kB / 0.6535 GB, free: 11.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/0.5794, allocations: 107.9 kB / 0.6536 GB, free: 11.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006276/0.5801, allocations: 0.5651 MB / 0.6541 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007226/0.5873, allocations: 4.534 MB / 0.6585 GB, free: 6.441 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.288/0.8754, allocations: 27.95 MB / 0.6858 GB, free: 92.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.877, allocations: 1.241 MB / 0.687 GB, free: 92.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.8774, allocations: 355.9 kB / 0.6874 GB, free: 92.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002631/0.88, allocations: 1.733 MB / 0.6891 GB, free: 91.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.8801, allocations: 38.84 kB / 0.6891 GB, free: 91.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=54): time 2.785e-06/0.8801, allocations: 2.906 kB / 0.6891 GB, free: 91.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.001325/0.8814, allocations: 0.9562 MB / 0.6901 GB, free: 91.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.8815, allocations: 109.1 kB / 0.6902 GB, free: 91.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003747/0.8852, allocations: 2.579 MB / 0.6927 GB, free: 90.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.8853, allocations: 32.31 kB / 0.6927 GB, free: 90.74 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009579/0.8863, allocations: 1.839 MB / 0.6945 GB, free: 89.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.8864, allocations: 258.9 kB / 0.6947 GB, free: 89.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.8866, allocations: 79.88 kB / 0.6948 GB, free: 89.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.8868, allocations: 0.5166 MB / 0.6953 GB, free: 89.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.8881, allocations: 1.072 MB / 0.6964 GB, free: 89.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.8905, allocations: 3.775 MB / 0.7001 GB, free: 85.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004438/0.895, allocations: 5.191 MB / 0.7051 GB, free: 82.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.817e-05/0.8951, allocations: 25.5 kB / 0.7052 GB, free: 82.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.00611/0.9012, allocations: 4.575 MB / 0.7096 GB, free: 81.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/0.9013, allocations: 44.25 kB / 0.7097 GB, free: 81.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.32e-05/0.9014, allocations: 97.28 kB / 0.7098 GB, free: 81.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.9015, allocations: 131.1 kB / 0.7099 GB, free: 81.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.9036, allocations: 0.906 MB / 0.7108 GB, free: 81.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001075/0.9037, allocations: 186.4 kB / 0.7109 GB, free: 81.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.906, allocations: 0.5759 MB / 0.7115 GB, free: 81.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002788/0.9063, allocations: 282.5 kB / 0.7118 GB, free: 81.09 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.001372/0.9077, allocations: 1.189 MB / 0.7129 GB, free: 80.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.9079, allocations: 184.6 kB / 0.7131 GB, free: 80.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.9082, allocations: 225.4 kB / 0.7133 GB, free: 80.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.9082, allocations: 6.25 kB / 0.7133 GB, free: 80.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.9082, allocations: 0 / 0.7133 GB, free: 80.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.9082, allocations: 9.406 kB / 0.7133 GB, free: 80.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.9103, allocations: 1.488 MB / 0.7148 GB, free: 79.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.9103, allocations: 2.25 kB / 0.7148 GB, free: 79.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.9105, allocations: 56.14 kB / 0.7149 GB, free: 79.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.9105, allocations: 1.375 kB / 0.7149 GB, free: 79.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.9106, allocations: 12.34 kB / 0.7149 GB, free: 79.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.9106, allocations: 2.75 kB / 0.7149 GB, free: 79.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9106, allocations: 4 kB / 0.7149 GB, free: 79.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00093/0.9115, allocations: 0.9931 MB / 0.7158 GB, free: 79.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.9119, allocations: 293.2 kB / 0.7161 GB, free: 78.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.912, allocations: 7.453 kB / 0.7161 GB, free: 78.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.9125, allocations: 22.66 kB / 0.7162 GB, free: 78.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.9126, allocations: 26.02 kB / 0.7162 GB, free: 78.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.9126, allocations: 15.31 kB / 0.7162 GB, free: 78.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001982/0.9146, allocations: 1.61 MB / 0.7178 GB, free: 78.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9146, allocations: 0 / 0.7178 GB, free: 78.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002765/0.9174, allocations: 0.5509 MB / 0.7183 GB, free: 78.25 MB / 490.7 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 (30): * Single equations (assignments): 27 * 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.0002408/0.9176, allocations: 127.1 kB / 0.7184 GB, free: 78.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003293/0.9209, allocations: 2.326 MB / 0.7207 GB, free: 77.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.921, allocations: 4.062 kB / 0.7207 GB, free: 77.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.9213, allocations: 306.6 kB / 0.721 GB, free: 77.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.9224, allocations: 162.8 kB / 0.7211 GB, free: 77.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/0.9287, allocations: 4.64 MB / 0.7257 GB, free: 74.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.9303, allocations: 1.856 MB / 0.7275 GB, free: 73.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003063/0.9334, allocations: 1.248 MB / 0.7287 GB, free: 73.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/0.9338, allocations: 161.1 kB / 0.7289 GB, free: 73.73 MB / 490.7 MB Notification: Performance of SimCode: time 7.02e-07/0.9338, allocations: 1.031 kB / 0.7289 GB, free: 73.73 MB / 490.7 MB Notification: Performance of Templates: time 0.02615/0.96, allocations: 14.75 MB / 0.7433 GB, free: 72.88 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/jenkins1/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