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.001203/0.001203, allocations: 169.9 kB / 8.74 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0008811/0.0008813, allocations: 92.22 kB / 281.6 MB, free: 5.328 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.1861/0.1861, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.325e-05, allocations: 224 / 444.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 61.91 MB / 0.4947 GB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4006/0.53, allocations: 93.07 MB / 0.5856 GB, free: 3.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.5303, allocations: 67.97 kB / 0.5856 GB, free: 3.414 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1027/0.633, allocations: 41.64 MB / 0.6263 GB, free: 9.395 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.6331, allocations: 3.938 kB / 0.6263 GB, free: 9.391 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.986e-05/0.6331, allocations: 32 kB / 0.6263 GB, free: 9.359 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.003754/0.6369, allocations: 1.879 MB / 0.6282 GB, free: 7.426 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.637, allocations: 11.98 kB / 0.6282 GB, free: 7.414 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006767/0.6437, allocations: 1.69 MB / 0.6298 GB, free: 5.715 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/0.6464, allocations: 1.11 MB / 0.6309 GB, free: 4.559 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-05/0.6465, allocations: 64 kB / 0.631 GB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003035/0.6468, allocations: 104 kB / 0.6311 GB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004621/0.6514, allocations: 3.036 MB / 0.634 GB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006631/0.6581, allocations: 5.208 MB / 0.6391 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.737e-05/0.6582, allocations: 31.69 kB / 0.6391 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.6584, allocations: 24 kB / 0.6392 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006686/0.6591, allocations: 0.569 MB / 0.6397 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02287/0.682, allocations: 26.74 MB / 0.6658 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.6833, allocations: 1.155 MB / 0.667 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/0.6837, allocations: 326.4 kB / 0.6673 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.6837, allocations: 4 kB / 0.6673 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.6838, allocations: 46.48 kB / 0.6673 GB, free: 13.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=60): time 3.566e-06/0.6838, allocations: 0 / 0.6673 GB, free: 13.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.001427/0.6852, allocations: 0.7825 MB / 0.6681 GB, free: 12.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.6853, allocations: 110.8 kB / 0.6682 GB, free: 12.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.6878, allocations: 2.068 MB / 0.6702 GB, free: 10.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.6878, allocations: 25.7 kB / 0.6702 GB, free: 10.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.689, allocations: 1.875 MB / 0.6721 GB, free: 8.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.6892, allocations: 277 kB / 0.6723 GB, free: 8.203 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.6893, allocations: 0 / 0.6723 GB, free: 8.203 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002789/0.6896, allocations: 0.5037 MB / 0.6728 GB, free: 7.688 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.691, allocations: 1.035 MB / 0.6738 GB, free: 6.648 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002981/0.694, allocations: 3.854 MB / 0.6776 GB, free: 1.352 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/0.6968, allocations: 2.028 MB / 0.6796 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.96e-05/0.6969, allocations: 28 kB / 0.6796 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=532) (initialization): time 0.006831/0.7037, allocations: 4.165 MB / 0.6837 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.892e-05/0.7038, allocations: 55.89 kB / 0.6837 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-05/0.7039, allocations: 100 kB / 0.6838 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.7041, allocations: 152.1 kB / 0.684 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/0.7066, allocations: 0.963 MB / 0.6849 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001463/0.7068, allocations: 199.2 kB / 0.6851 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/0.7094, allocations: 498 kB / 0.6856 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/0.7097, allocations: 304.2 kB / 0.6859 GB, free: 8.879 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (508): * Single equations (assignments): 505 * 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.0004208/0.7102, allocations: 348.2 kB / 0.6862 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.7104, allocations: 173.7 kB / 0.6864 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.7107, allocations: 220.3 kB / 0.6866 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.7108, allocations: 12.03 kB / 0.6866 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.7108, allocations: 4 kB / 0.6866 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7108, allocations: 0 / 0.6866 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.7138, allocations: 1.736 MB / 0.6883 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.7138, allocations: 4 kB / 0.6883 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.7141, allocations: 63.89 kB / 0.6883 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.7141, allocations: 8 kB / 0.6883 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.7142, allocations: 0 / 0.6883 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.7142, allocations: 4 kB / 0.6884 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7142, allocations: 0 / 0.6884 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.7152, allocations: 1.039 MB / 0.6894 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.7156, allocations: 286.5 kB / 0.6896 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.7157, allocations: 0 / 0.6896 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.7162, allocations: 19.97 kB / 0.6897 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.7163, allocations: 19.97 kB / 0.6897 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.7163, allocations: 16 kB / 0.6897 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001786/0.7181, allocations: 1.354 MB / 0.691 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7181, allocations: 0 / 0.691 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002915/0.7211, allocations: 0.5024 MB / 0.6915 GB, free: 2.949 MB / 0.4948 GB 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 () * 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.0002881/0.7213, allocations: 131.1 kB / 0.6916 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003269/0.7246, allocations: 2.243 MB / 0.6938 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7246, allocations: 0 / 0.6938 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.725, allocations: 319.8 kB / 0.6941 GB, free: 288 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/0.7257, allocations: 138.9 kB / 0.6943 GB, free: 144 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/0.7309, allocations: 3.177 MB / 0.6974 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/0.7326, allocations: 1.901 MB / 0.6992 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003103/0.7357, allocations: 1.341 MB / 0.7005 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/0.7361, allocations: 155.4 kB / 0.7007 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/0.7361, allocations: 0 / 0.7007 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of Templates: time 0.2655/1.002, allocations: 13.36 MB / 0.7137 GB, free: 154.8 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