Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009116/0.0009116, allocations: 178.8 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.231/1.231, allocations: 221.3 MB / 236 MB, free: 2.945 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.000858/0.0008581, allocations: 102.4 kB / 287 MB, free: 236 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.1789/0.1789, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/3.006e-05, allocations: 224 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1265, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3927/0.5193, allocations: 107 MB / 0.6062 GB, free: 14.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.5196, allocations: 75.95 kB / 0.6063 GB, free: 14.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5909/1.11, allocations: 132.4 MB / 0.7356 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.334e-06/1.111, allocations: 0 / 0.7356 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004122/1.111, allocations: 129.1 kB / 0.7357 GB, free: 110.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02378/1.135, allocations: 6.335 MB / 0.7419 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.135, allocations: 13.19 kB / 0.7419 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03459/1.169, allocations: 9.42 MB / 0.7511 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02076/1.19, allocations: 8.099 MB / 0.759 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000578/1.191, allocations: 488.5 kB / 0.7595 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003623/1.194, allocations: 0.6492 MB / 0.7601 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03383/1.228, allocations: 15.1 MB / 0.7749 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003442/1.229, allocations: 96.8 kB / 0.775 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001347/1.23, allocations: 315.4 kB / 0.7753 GB, free: 102 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001425/1.232, allocations: 1.35 MB / 0.7766 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02177/1.253, allocations: 11.8 MB / 0.7881 GB, free: 98.31 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06389/1.317, allocations: 67.59 MB / 0.8541 GB, free: 41.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/1.328, allocations: 5.251 MB / 0.8593 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002792/1.331, allocations: 2.61 MB / 0.8618 GB, free: 34.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.546e-05/1.331, allocations: 40.2 kB / 0.8618 GB, free: 34.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/1.331, allocations: 55.34 kB / 0.8619 GB, free: 34.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 4.549e-06/1.331, allocations: 0 / 0.8619 GB, free: 34.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.03823/1.369, allocations: 16.79 MB / 0.8783 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/1.369, allocations: 256.8 kB / 0.8785 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007693/1.377, allocations: 5.924 MB / 0.8843 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004425/1.378, allocations: 57.7 kB / 0.8844 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002243/1.38, allocations: 4.673 MB / 0.8889 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008783/1.381, allocations: 0.8305 MB / 0.8897 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/1.381, allocations: 156 kB / 0.8899 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002879/1.381, allocations: 0.6326 MB / 0.8905 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/1.384, allocations: 2.393 MB / 0.8929 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005844/1.39, allocations: 7.333 MB / 0.9 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006252/1.396, allocations: 4.181 MB / 0.9041 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001012/1.396, allocations: 59.95 kB / 0.9042 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.3197/1.716, allocations: 10.01 MB / 0.9139 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001929/1.716, allocations: 83.2 kB / 0.914 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004022/1.717, allocations: 175.8 kB / 0.9142 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/1.719, allocations: 0.7905 MB / 0.915 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00619/1.725, allocations: 1.76 MB / 0.9167 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008792/1.734, allocations: 8.279 MB / 0.9248 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006938/1.741, allocations: 409.8 kB / 0.9251 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001719/1.743, allocations: 488.4 kB / 0.9256 GB, free: 101.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 (952): * Single equations (assignments): 946 * 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.001258/1.744, allocations: 0.7274 MB / 0.9263 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.745, allocations: 0.5528 MB / 0.9269 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00675/1.752, allocations: 3.351 MB / 0.9301 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.267e-05/1.752, allocations: 24.22 kB / 0.9302 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/1.752, allocations: 7.344 kB / 0.9302 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/1.752, allocations: 13.08 kB / 0.9302 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/1.768, allocations: 9.505 MB / 0.9395 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.769, allocations: 7.062 kB / 0.9395 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/1.77, allocations: 297.2 kB / 0.9398 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/1.771, allocations: 0.5007 MB / 0.9402 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/1.771, allocations: 35.48 kB / 0.9403 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00625/1.777, allocations: 7.391 MB / 0.9475 GB, free: 96.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.777, allocations: 0 / 0.9475 GB, free: 96.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007753/1.785, allocations: 6.169 MB / 0.9535 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/1.787, allocations: 0.6163 MB / 0.9541 GB, free: 95.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007145/1.788, allocations: 33.28 kB / 0.9541 GB, free: 95.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/1.79, allocations: 108 kB / 0.9543 GB, free: 95.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/1.79, allocations: 119.5 kB / 0.9544 GB, free: 95.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/1.79, allocations: 50.73 kB / 0.9544 GB, free: 95.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006606/1.797, allocations: 4.21 MB / 0.9585 GB, free: 94.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/1.797, allocations: 0 / 0.9585 GB, free: 94.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008368/1.805, allocations: 1.389 MB / 0.9599 GB, free: 94.41 MB / 0.5261 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 (160): * Single equations (assignments): 154 * 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.0005534/1.806, allocations: 179.5 kB / 0.9601 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009028/1.815, allocations: 6.171 MB / 0.9661 GB, free: 92.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.815, allocations: 0 / 0.9661 GB, free: 92.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002297/1.817, allocations: 1.94 MB / 0.968 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004216/1.821, allocations: 0.7626 MB / 0.9687 GB, free: 91.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/1.842, allocations: 10.94 MB / 0.9794 GB, free: 87.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005133/1.847, allocations: 4.764 MB / 0.9841 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006012/1.853, allocations: 2.544 MB / 0.9865 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.854, allocations: 351.4 kB / 0.9869 GB, free: 85.73 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/1.854, allocations: 0 / 0.9869 GB, free: 85.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.08619/1.94, allocations: 50.71 MB / 1.036 GB, free: 58.95 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches