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.0009246/0.0009246, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.228/1.228, allocations: 221.4 MB / 236 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 92.03 kB / 287 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1953/0.1953, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.117e-05, allocations: 8.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3573/0.4642, allocations: 93.73 MB / 0.5932 GB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001727/0.4644, allocations: 67.97 kB / 0.5933 GB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09818/0.5626, allocations: 42.33 MB / 0.6346 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5626, allocations: 4 kB / 0.6346 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.112e-05/0.5627, allocations: 32 kB / 0.6347 GB, free: 0.7344 MB / 442.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.005526/0.5682, allocations: 1.883 MB / 0.6365 GB, free: 14.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.5683, allocations: 8.031 kB / 0.6365 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006825/0.5751, allocations: 1.69 MB / 0.6382 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.5776, allocations: 1.11 MB / 0.6393 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.5777, allocations: 143.7 kB / 0.6394 GB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000668/0.5784, allocations: 187.9 kB / 0.6396 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008742/0.5872, allocations: 5.485 MB / 0.6449 GB, free: 5.391 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.99e-05/0.5873, allocations: 39.67 kB / 0.645 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000457/0.5878, allocations: 95.94 kB / 0.6451 GB, free: 5.258 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006752/0.5885, allocations: 0.5768 MB / 0.6456 GB, free: 4.676 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006573/0.595, allocations: 4.465 MB / 0.65 GB, free: 216 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02193/0.617, allocations: 27.94 MB / 0.6773 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.6188, allocations: 1.247 MB / 0.6785 GB, free: 1.809 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.6194, allocations: 356.3 kB / 0.6788 GB, free: 1.449 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002387/0.6218, allocations: 1.444 MB / 0.6802 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.6218, allocations: 42.56 kB / 0.6803 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=57): time 3.427e-06/0.6218, allocations: 0 / 0.6803 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.00153/0.6233, allocations: 0.8337 MB / 0.6811 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.6234, allocations: 132.5 kB / 0.6812 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/0.6263, allocations: 2.295 MB / 0.6835 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.6263, allocations: 29.7 kB / 0.6835 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.6275, allocations: 1.833 MB / 0.6853 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.6277, allocations: 261.1 kB / 0.6855 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.6279, allocations: 79.98 kB / 0.6856 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002992/0.6282, allocations: 0.5187 MB / 0.6861 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.6296, allocations: 1.05 MB / 0.6871 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002898/0.6325, allocations: 3.737 MB / 0.6908 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.6348, allocations: 2 MB / 0.6927 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.928e-05/0.6349, allocations: 28 kB / 0.6928 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006276/0.6412, allocations: 4.539 MB / 0.6972 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.6412, allocations: 44 kB / 0.6972 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.728e-05/0.6413, allocations: 100 kB / 0.6973 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/0.6415, allocations: 144 kB / 0.6975 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/0.6437, allocations: 0.909 MB / 0.6984 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001284/0.6438, allocations: 187.3 kB / 0.6985 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.6463, allocations: 0.5683 MB / 0.6991 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/0.6467, allocations: 284 kB / 0.6994 GB, free: 10.89 MB / 0.5105 GB 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 () * 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.0003942/0.6471, allocations: 412.5 kB / 0.6998 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.6473, allocations: 185.6 kB / 0.6999 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.6477, allocations: 221.7 kB / 0.7001 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.6477, allocations: 8 kB / 0.7001 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.6478, allocations: 0 / 0.7001 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.6478, allocations: 8 kB / 0.7002 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.6508, allocations: 1.928 MB / 0.702 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6508, allocations: 0 / 0.702 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.6511, allocations: 55.91 kB / 0.7021 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.6511, allocations: 4 kB / 0.7021 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.6512, allocations: 8 kB / 0.7021 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.6512, allocations: 96 / 0.7021 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.6512, allocations: 11.95 kB / 0.7021 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.6524, allocations: 1.107 MB / 0.7032 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/0.6529, allocations: 286.5 kB / 0.7035 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.653, allocations: 11.98 kB / 0.7035 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.6535, allocations: 19.98 kB / 0.7035 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.6536, allocations: 27.92 kB / 0.7035 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.6536, allocations: 24 kB / 0.7035 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00199/0.6556, allocations: 1.578 MB / 0.7051 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6556, allocations: 0 / 0.7051 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002503/0.6582, allocations: 0.5535 MB / 0.7056 GB, free: 4.27 MB / 0.5105 GB 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 () * 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.0002647/0.6584, allocations: 123.2 kB / 0.7057 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003317/0.6618, allocations: 2.309 MB / 0.708 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6618, allocations: 1.062 kB / 0.708 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.6621, allocations: 324 kB / 0.7083 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/0.6628, allocations: 159.5 kB / 0.7085 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.238/0.9008, allocations: 3.182 MB / 0.7116 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001785/0.9027, allocations: 1.9 MB / 0.7134 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003262/0.9059, allocations: 1.258 MB / 0.7147 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.9063, allocations: 161.9 kB / 0.7148 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/0.9064, allocations: 0 / 0.7148 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.03063/0.937, allocations: 14.79 MB / 0.7292 GB, free: 152 MB / 0.5105 GB 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