Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 183.6 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.2 MB / 218.9 MB, free: 9.195 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008305/0.0008306, allocations: 85.02 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3318/0.3318, allocations: 43.47 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.144e-05, allocations: 8 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4492, allocations: 105.7 MB / 0.576 GB, free: 15.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.4495, allocations: 75.95 kB / 0.5761 GB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5634/1.013, allocations: 137.9 MB / 0.7107 GB, free: 82.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.083e-06/1.013, allocations: 1.094 kB / 0.7107 GB, free: 82.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005767/1.014, allocations: 138.9 kB / 0.7109 GB, free: 82.4 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02724/1.041, allocations: 6.636 MB / 0.7173 GB, free: 79.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.041, allocations: 9.125 kB / 0.7174 GB, free: 79.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03823/1.079, allocations: 9.496 MB / 0.7266 GB, free: 79.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0234/1.103, allocations: 8.74 MB / 0.7352 GB, free: 78.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005326/1.103, allocations: 0.5054 MB / 0.7357 GB, free: 78.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003737/1.107, allocations: 0.6799 MB / 0.7363 GB, free: 78.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0414/1.148, allocations: 15.99 MB / 0.7519 GB, free: 70.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000694/1.149, allocations: 96.56 kB / 0.752 GB, free: 70.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003685/1.153, allocations: 332.5 kB / 0.7523 GB, free: 69.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/1.155, allocations: 1.463 MB / 0.7538 GB, free: 69.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02998/1.185, allocations: 12.66 MB / 0.7661 GB, free: 65.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08312/1.268, allocations: 70.78 MB / 0.8353 GB, free: 2.957 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/1.283, allocations: 5.849 MB / 0.841 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005115/1.288, allocations: 3.031 MB / 0.8439 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003231/1.288, allocations: 57.52 kB / 0.844 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.555e-05/1.288, allocations: 64.06 kB / 0.8441 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 8.736e-06/1.288, allocations: 0 / 0.8441 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.3667/1.655, allocations: 18.98 MB / 0.8626 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.655, allocations: 263.9 kB / 0.8628 GB, free: 88.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01429/1.669, allocations: 6.11 MB / 0.8688 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007981/1.67, allocations: 62.86 kB / 0.8689 GB, free: 87.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004951/1.675, allocations: 4.879 MB / 0.8736 GB, free: 85.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/1.677, allocations: 1.002 MB / 0.8746 GB, free: 84.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/1.678, allocations: 166.9 kB / 0.8748 GB, free: 84.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001014/1.679, allocations: 0.6646 MB / 0.8754 GB, free: 84.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005309/1.684, allocations: 2.791 MB / 0.8781 GB, free: 84.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007652/1.692, allocations: 7.935 MB / 0.8859 GB, free: 77.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007221/1.699, allocations: 4.674 MB / 0.8905 GB, free: 77.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002989/1.7, allocations: 53.28 kB / 0.8905 GB, free: 77.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.02301/1.723, allocations: 11.08 MB / 0.9013 GB, free: 75.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000435/1.723, allocations: 83.28 kB / 0.9014 GB, free: 75.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006516/1.724, allocations: 182.6 kB / 0.9016 GB, free: 75.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/1.727, allocations: 0.806 MB / 0.9024 GB, free: 75.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007508/1.734, allocations: 1.936 MB / 0.9043 GB, free: 75.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008264/1.742, allocations: 8.307 MB / 0.9124 GB, free: 69.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00804/1.75, allocations: 451.3 kB / 0.9128 GB, free: 69.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001731/1.752, allocations: 0.5033 MB / 0.9133 GB, free: 69.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1036): * Single equations (assignments): 1030 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00304/1.755, allocations: 0.7696 MB / 0.914 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001725/1.757, allocations: 0.5886 MB / 0.9146 GB, free: 68.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009495/1.767, allocations: 4.269 MB / 0.9188 GB, free: 66.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-05/1.767, allocations: 32.56 kB / 0.9188 GB, free: 66.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.292e-05/1.767, allocations: 6.391 kB / 0.9188 GB, free: 66.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.657e-05/1.767, allocations: 11.48 kB / 0.9188 GB, free: 66.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02931/1.796, allocations: 11.18 MB / 0.9297 GB, free: 62.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/1.796, allocations: 0 / 0.9297 GB, free: 62.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/1.798, allocations: 413.1 kB / 0.9301 GB, free: 62.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/1.8, allocations: 0.4952 MB / 0.9306 GB, free: 62.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004629/1.8, allocations: 52.44 kB / 0.9307 GB, free: 62.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007042/1.807, allocations: 7.376 MB / 0.9379 GB, free: 56.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.807, allocations: 0 / 0.9379 GB, free: 56.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/1.819, allocations: 7.633 MB / 0.9453 GB, free: 53.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003146/1.822, allocations: 0.9959 MB / 0.9463 GB, free: 52.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002077/1.824, allocations: 41.27 kB / 0.9463 GB, free: 52.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003636/1.828, allocations: 141.3 kB / 0.9465 GB, free: 52.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005567/1.828, allocations: 156.1 kB / 0.9466 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002903/1.828, allocations: 67.47 kB / 0.9467 GB, free: 52.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01063/1.839, allocations: 4.34 MB / 0.9509 GB, free: 51.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.81e-07/1.839, allocations: 0 / 0.9509 GB, free: 51.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009713/1.849, allocations: 1.52 MB / 0.9524 GB, free: 51.01 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008536/1.85, allocations: 190.1 kB / 0.9526 GB, free: 50.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.861, allocations: 7.132 MB / 0.9596 GB, free: 48.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.861, allocations: 0 / 0.9596 GB, free: 48.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00343/1.865, allocations: 2.393 MB / 0.9619 GB, free: 47.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00499/1.87, allocations: 0.7604 MB / 0.9626 GB, free: 46.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/1.896, allocations: 12.04 MB / 0.9744 GB, free: 40.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009857/1.906, allocations: 5.032 MB / 0.9793 GB, free: 36.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00835/1.915, allocations: 2.761 MB / 0.982 GB, free: 35.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/1.917, allocations: 388.8 kB / 0.9824 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of SimCode: time 1.253e-06/1.917, allocations: 0 / 0.9824 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.09835/2.015, allocations: 54.71 MB / 1.036 GB, free: 7.062 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches