Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001203, allocations: 92.48 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 44.24 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003056, allocations: 15.06 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3717/0.5132, allocations: 80.96 MB / 0.5396 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04385/0.5571, allocations: 16.35 MB / 0.5556 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02458/0.5817, allocations: 388.7 kB / 0.556 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01515/0.5969, allocations: 4.27 MB / 0.5601 GB, free: 8.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0403/0.6372, allocations: 12.4 MB / 0.5722 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007646/0.6449, allocations: 0.9017 MB / 0.5731 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0853/0.7302, allocations: 63.04 MB / 0.6347 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01213/0.7424, allocations: 7.314 MB / 0.6418 GB, free: 6.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004555/0.747, allocations: 1.926 MB / 0.6437 GB, free: 4.133 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00545/0.7525, allocations: 2.987 MB / 0.6466 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001412/0.7539, allocations: 212 kB / 0.6468 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/0.7571, allocations: 1.01 MB / 0.6478 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0039/0.7611, allocations: 2.661 MB / 0.6504 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.7637, allocations: 1.244 MB / 0.6516 GB, free: 12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009788/0.7735, allocations: 8.203 MB / 0.6596 GB, free: 3.773 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7735, allocations: 0 / 0.6596 GB, free: 3.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7735, allocations: 0 / 0.6596 GB, free: 3.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002697/0.7738, allocations: 4 kB / 0.6596 GB, free: 3.77 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.01303/0.7868, allocations: 6.267 MB / 0.6658 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.7869, allocations: 8.031 kB / 0.6658 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.7984, allocations: 2.826 MB / 0.6685 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00894/0.8074, allocations: 4.203 MB / 0.6726 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.8077, allocations: 365.3 kB / 0.673 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.8089, allocations: 491.5 kB / 0.6734 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02661/0.8356, allocations: 15.04 MB / 0.6881 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002893/0.8359, allocations: 67.31 kB / 0.6882 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/0.8369, allocations: 231.8 kB / 0.6884 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004692/0.8416, allocations: 2.867 MB / 0.6912 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02548/0.8671, allocations: 12.77 MB / 0.7037 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3214/1.189, allocations: 59.13 MB / 0.7614 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01565/1.204, allocations: 7.286 MB / 0.7685 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/1.208, allocations: 3.872 MB / 0.7723 GB, free: 144 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01251/1.221, allocations: 9.012 MB / 0.7811 GB, free: 135 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/1.221, allocations: 56.56 kB / 0.7812 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 5.491e-06/1.221, allocations: 3.062 kB / 0.7812 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.1402/1.361, allocations: 32.83 MB / 0.8132 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/1.361, allocations: 239.6 kB / 0.8135 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01342/1.375, allocations: 6.678 MB / 0.82 GB, free: 94.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009819/1.376, allocations: 66.33 kB / 0.8201 GB, free: 94.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003514/1.379, allocations: 4.465 MB / 0.8244 GB, free: 90.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001542/1.381, allocations: 1.095 MB / 0.8255 GB, free: 89.33 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006865/1.382, allocations: 178.5 kB / 0.8257 GB, free: 89.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004908/1.382, allocations: 0.6818 MB / 0.8263 GB, free: 88.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007947/1.39, allocations: 3.585 MB / 0.8298 GB, free: 84.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01093/1.401, allocations: 8.624 MB / 0.8383 GB, free: 73.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007534/1.409, allocations: 5.428 MB / 0.8436 GB, free: 68.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-05/1.409, allocations: 55.94 kB / 0.8436 GB, free: 68.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02233/1.431, allocations: 14.02 MB / 0.8573 GB, free: 54.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000184/1.431, allocations: 91.92 kB / 0.8574 GB, free: 54.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002614/1.432, allocations: 176 kB / 0.8576 GB, free: 53.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005052/1.437, allocations: 2.288 MB / 0.8598 GB, free: 51.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006814/1.444, allocations: 2.027 MB / 0.8618 GB, free: 49.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/1.458, allocations: 13.21 MB / 0.8747 GB, free: 36.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006642/1.465, allocations: 0.5046 MB / 0.8752 GB, free: 35.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/1.466, allocations: 0.5195 MB / 0.8757 GB, free: 35.17 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1057 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 21,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004959/1.471, allocations: 3.049 MB / 0.8786 GB, free: 32.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.472, allocations: 0.5553 MB / 0.8792 GB, free: 31.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.483, allocations: 7.212 MB / 0.8862 GB, free: 24.31 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.894e-05/1.483, allocations: 29.17 kB / 0.8863 GB, free: 24.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.527e-05/1.483, allocations: 12 kB / 0.8863 GB, free: 24.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/1.483, allocations: 11.95 kB / 0.8863 GB, free: 24.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02319/1.507, allocations: 15.27 MB / 0.9012 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/1.507, allocations: 4 kB / 0.9012 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/1.509, allocations: 491.2 kB / 0.9017 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004441/1.513, allocations: 2.019 MB / 0.9036 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004085/1.514, allocations: 48 kB / 0.9037 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.27/1.784, allocations: 12.56 MB / 0.9159 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.784, allocations: 5.531 kB / 0.9159 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/1.803, allocations: 11.45 MB / 0.9271 GB, free: 169.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/1.805, allocations: 0.6505 MB / 0.9278 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001776/1.806, allocations: 50.59 kB / 0.9278 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00355/1.81, allocations: 212.4 kB / 0.928 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006841/1.811, allocations: 173.6 kB / 0.9282 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/1.811, allocations: 84.38 kB / 0.9283 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008602/1.82, allocations: 4.263 MB / 0.9324 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/1.82, allocations: 3.828 kB / 0.9324 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01112/1.831, allocations: 1.617 MB / 0.934 GB, free: 168 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * 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 (232): * Single equations (assignments): 227 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000973/1.832, allocations: 191.9 kB / 0.9342 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01319/1.845, allocations: 8.777 MB / 0.9428 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/1.845, allocations: 0 / 0.9428 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005112/1.85, allocations: 3.535 MB / 0.9462 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/1.854, allocations: 0.7148 MB / 0.9469 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.878, allocations: 17.52 MB / 0.964 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004489/1.882, allocations: 4.625 MB / 0.9685 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006729/1.889, allocations: 2.81 MB / 0.9713 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/1.89, allocations: 383.4 kB / 0.9716 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.273e-06/1.89, allocations: 0 / 0.9716 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.1028/1.993, allocations: 63.1 MB / 1.033 GB, free: 75.54 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches