Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 227.2 MB / 245 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009274/0.0009273, allocations: 101.5 kB / 297.3 MB, free: 6.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3118/0.3118, allocations: 45.24 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003722, allocations: 7.984 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3286, allocations: 63.24 MB / 0.5192 GB, free: 43.79 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.4364, allocations: 94.87 MB / 0.6118 GB, free: 10.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.4366, allocations: 72.97 kB / 0.6119 GB, free: 10.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1022/0.5389, allocations: 43.73 MB / 0.6546 GB, free: 14.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5389, allocations: 0 / 0.6546 GB, free: 14.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.181e-05/0.539, allocations: 36 kB / 0.6546 GB, free: 14.59 MB / 474.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.004376/0.5433, allocations: 1.949 MB / 0.6565 GB, free: 12.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.5434, allocations: 8.031 kB / 0.6565 GB, free: 12.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006049/0.5494, allocations: 1.694 MB / 0.6582 GB, free: 10.87 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/0.5522, allocations: 1.113 MB / 0.6593 GB, free: 9.715 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.5523, allocations: 139.7 kB / 0.6594 GB, free: 9.578 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004782/0.5528, allocations: 183.9 kB / 0.6596 GB, free: 9.398 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007214/0.56, allocations: 5.509 MB / 0.665 GB, free: 3.152 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.958e-05/0.5601, allocations: 35.69 kB / 0.665 GB, free: 3.117 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.5604, allocations: 111.9 kB / 0.6651 GB, free: 3.008 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006683/0.5611, allocations: 0.5729 MB / 0.6657 GB, free: 2.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006691/0.5678, allocations: 4.534 MB / 0.6701 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02352/0.5913, allocations: 27.94 MB / 0.6974 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2167/0.8081, allocations: 1.242 MB / 0.6986 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00334/0.8115, allocations: 1.444 MB / 0.7 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.8115, allocations: 41.89 kB / 0.7 GB, free: 121 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=57): time 3.136e-06/0.8115, allocations: 0 / 0.7 GB, free: 121 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.002087/0.8136, allocations: 1.349 MB / 0.7014 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.8137, allocations: 137.5 kB / 0.7015 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00306/0.8168, allocations: 2.323 MB / 0.7038 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.8168, allocations: 32.86 kB / 0.7038 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008853/0.8177, allocations: 1.827 MB / 0.7056 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.8179, allocations: 269.3 kB / 0.7058 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.8181, allocations: 76.83 kB / 0.7059 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002609/0.8183, allocations: 0.5182 MB / 0.7064 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.8197, allocations: 1.077 MB / 0.7075 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.822, allocations: 3.755 MB / 0.7111 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.8241, allocations: 1.992 MB / 0.7131 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-05/0.8242, allocations: 24.72 kB / 0.7131 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005385/0.8295, allocations: 4.58 MB / 0.7176 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/0.8296, allocations: 46.75 kB / 0.7176 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-05/0.8297, allocations: 99.34 kB / 0.7177 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001065/0.8298, allocations: 138.2 kB / 0.7178 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/0.8318, allocations: 0.9113 MB / 0.7187 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.885e-05/0.8319, allocations: 189.5 kB / 0.7189 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.834, allocations: 0.5637 MB / 0.7195 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/0.8343, allocations: 285.5 kB / 0.7197 GB, free: 114.2 MB / 0.4948 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 () * 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.001181/0.8355, allocations: 1.194 MB / 0.7209 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.8357, allocations: 186.4 kB / 0.7211 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.836, allocations: 216.5 kB / 0.7213 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.836, allocations: 10.59 kB / 0.7213 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.836, allocations: 2.812 kB / 0.7213 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.836, allocations: 3.328 kB / 0.7213 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.8388, allocations: 1.92 MB / 0.7232 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.8388, allocations: 0.5 kB / 0.7232 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.839, allocations: 56.95 kB / 0.7232 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.8391, allocations: 3 kB / 0.7232 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.8391, allocations: 12.91 kB / 0.7233 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.8391, allocations: 8.766 kB / 0.7233 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8391, allocations: 0 / 0.7233 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.8399, allocations: 1.116 MB / 0.7243 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/0.8403, allocations: 294.3 kB / 0.7246 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.8405, allocations: 7.641 kB / 0.7246 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.841, allocations: 28.02 kB / 0.7247 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.841, allocations: 23.81 kB / 0.7247 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.8411, allocations: 22.03 kB / 0.7247 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001655/0.8427, allocations: 1.594 MB / 0.7263 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8427, allocations: 3.391 kB / 0.7263 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002532/0.8453, allocations: 0.5576 MB / 0.7268 GB, free: 112 MB / 0.4948 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 () * 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.0002484/0.8455, allocations: 135.2 kB / 0.7269 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003225/0.8488, allocations: 2.335 MB / 0.7292 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.8488, allocations: 0 / 0.7292 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.8492, allocations: 313.7 kB / 0.7295 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008593/0.8501, allocations: 157.3 kB / 0.7297 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006238/0.8563, allocations: 4.651 MB / 0.7342 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.8578, allocations: 1.909 MB / 0.7361 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002792/0.8606, allocations: 1.258 MB / 0.7373 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.861, allocations: 153 kB / 0.7375 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of SimCode: time 8.91e-07/0.861, allocations: 0 / 0.7375 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.02882/0.8899, allocations: 14.77 MB / 0.7519 GB, free: 106.6 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches