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.001873/0.001873, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.375/1.375, allocations: 222.9 MB / 241.6 MB, free: 11 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.0014/0.0014, allocations: 104.9 kB / 291.9 MB, free: 10.95 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.3553/0.3553, allocations: 44.13 MB / 386.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 59.86 kB / 457.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.31, allocations: 60.8 MB / 0.5064 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007113/0.3171, allocations: 8.913 MB / 0.5151 GB, free: 32.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004035/0.3212, allocations: 2.33 MB / 0.5174 GB, free: 30.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.3224, allocations: 31.41 kB / 0.5174 GB, free: 30.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.3235, allocations: 0.4893 MB / 0.5179 GB, free: 30.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.3251, allocations: 0.8649 MB / 0.5187 GB, free: 30 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.3252, allocations: 18.03 kB / 0.5187 GB, free: 29.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003199/0.3284, allocations: 3.241 MB / 0.5219 GB, free: 29.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.3295, allocations: 0.7623 MB / 0.5226 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005023/0.33, allocations: 437.9 kB / 0.5231 GB, free: 28.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006956/0.3308, allocations: 0.7869 MB / 0.5238 GB, free: 28.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.3309, allocations: 62.34 kB / 0.5239 GB, free: 28.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005289/0.3314, allocations: 301.6 kB / 0.5242 GB, free: 28.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004576/0.3319, allocations: 0.7027 MB / 0.5249 GB, free: 28.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005045/0.3324, allocations: 0.8738 MB / 0.5257 GB, free: 27.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.3341, allocations: 2.654 MB / 0.5283 GB, free: 26.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3341, allocations: 4 kB / 0.5283 GB, free: 26.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3341, allocations: 0 / 0.5283 GB, free: 26.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.183e-05/0.3342, allocations: 0 / 0.5283 GB, free: 26.5 MB / 378.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.002186/0.3364, allocations: 2.063 MB / 0.5303 GB, free: 25.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3364, allocations: 10.62 kB / 0.5303 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005363/0.3418, allocations: 1.502 MB / 0.5318 GB, free: 24.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.3435, allocations: 0.8495 MB / 0.5326 GB, free: 24.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.3436, allocations: 88.67 kB / 0.5327 GB, free: 24.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.3438, allocations: 115.3 kB / 0.5328 GB, free: 24.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004609/0.3484, allocations: 4.975 MB / 0.5377 GB, free: 21.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.3485, allocations: 27.59 kB / 0.5377 GB, free: 21.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.3487, allocations: 65.8 kB / 0.5378 GB, free: 21.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001659/0.3503, allocations: 1.181 MB / 0.5389 GB, free: 21.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006101/0.3564, allocations: 4.244 MB / 0.5431 GB, free: 20.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/0.3724, allocations: 20.61 MB / 0.5632 GB, free: 3.473 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.3734, allocations: 1.179 MB / 0.5643 GB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.3738, allocations: 339.2 kB / 0.5647 GB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3738, allocations: 6.578 kB / 0.5647 GB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.3739, allocations: 37.53 kB / 0.5647 GB, free: 2.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.156e-06/0.3739, allocations: 0 / 0.5647 GB, free: 2.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001325/0.3752, allocations: 1.052 MB / 0.5657 GB, free: 1.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.3752, allocations: 107.1 kB / 0.5658 GB, free: 1.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.3776, allocations: 2.471 MB / 0.5683 GB, free: 15.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.3776, allocations: 33.7 kB / 0.5683 GB, free: 15.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.3787, allocations: 1.825 MB / 0.5701 GB, free: 13.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.3789, allocations: 269 kB / 0.5703 GB, free: 13.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008342/0.3797, allocations: 0.801 MB / 0.5711 GB, free: 12.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3799, allocations: 357.9 kB / 0.5714 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.3812, allocations: 1.023 MB / 0.5724 GB, free: 10.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002779/0.384, allocations: 3.73 MB / 0.5761 GB, free: 5.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004755/0.3887, allocations: 5.184 MB / 0.5811 GB, free: 15.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.609e-05/0.3889, allocations: 28 kB / 0.5812 GB, free: 15.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.0103/0.3992, allocations: 4.448 MB / 0.5855 GB, free: 10.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.662e-05/0.3993, allocations: 47.94 kB / 0.5856 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/0.3994, allocations: 100 kB / 0.5857 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.3996, allocations: 124 kB / 0.5858 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003561/0.4032, allocations: 0.8895 MB / 0.5866 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001949/0.4034, allocations: 187.3 kB / 0.5868 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004478/0.4079, allocations: 0.5681 MB / 0.5874 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000519/0.4084, allocations: 255.9 kB / 0.5876 GB, free: 8.613 MB / 410.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 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,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.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 (484): * Single equations (assignments): 481 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002499/0.411, allocations: 1.188 MB / 0.5888 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/0.4114, allocations: 181.6 kB / 0.589 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.412, allocations: 226.4 kB / 0.5892 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/0.412, allocations: 12 kB / 0.5892 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.412, allocations: 0 / 0.5892 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.4121, allocations: 15.95 kB / 0.5892 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005313/0.4174, allocations: 2.038 MB / 0.5912 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4174, allocations: 0 / 0.5912 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.4179, allocations: 63.91 kB / 0.5913 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.418, allocations: 7.922 kB / 0.5913 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.418, allocations: 8 kB / 0.5913 GB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.418, allocations: 4 kB / 0.5913 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.418, allocations: 4 kB / 0.5913 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/0.4213, allocations: 2.246 MB / 0.5935 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006317/0.422, allocations: 246.5 kB / 0.5937 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002484/0.4222, allocations: 11.98 kB / 0.5937 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008581/0.4231, allocations: 19.98 kB / 0.5937 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4232, allocations: 23.97 kB / 0.5938 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.4233, allocations: 16 kB / 0.5938 GB, free: 2.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003349/0.4267, allocations: 1.522 MB / 0.5953 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.272e-06/0.4267, allocations: 0 / 0.5953 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004793/0.4315, allocations: 0.5417 MB / 0.5958 GB, free: 80 kB / 410.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 (36): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003778/0.4319, allocations: 127.7 kB / 0.5959 GB, free: 15.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005213/0.4371, allocations: 2.316 MB / 0.5982 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4372, allocations: 0 / 0.5982 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006857/0.4379, allocations: 341.6 kB / 0.5985 GB, free: 13.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.4395, allocations: 161.1 kB / 0.5986 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.4498, allocations: 5.344 MB / 0.6039 GB, free: 7.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/0.4524, allocations: 1.877 MB / 0.6057 GB, free: 5.852 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005285/0.4577, allocations: 1.271 MB / 0.6069 GB, free: 4.574 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.4581, allocations: 127.4 kB / 0.6071 GB, free: 4.449 MB / 426.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4582, allocations: 4 kB / 0.6071 GB, free: 4.445 MB / 426.7 MB Notification: Performance of Templates: time 0.04152/0.4997, allocations: 13.29 MB / 0.62 GB, free: 7.172 MB / 442.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@2/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