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.001381/0.001381, allocations: 177 kB / 17.06 MB, free: 5.094 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.275/1.275, allocations: 223.2 MB / 241 MB, free: 11.88 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.001041/0.001041, allocations: 92.97 kB / 292.1 MB, free: 10.92 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.3547/0.3547, allocations: 44.2 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004043, allocations: 12 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3738, allocations: 61.89 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.5147, allocations: 107.1 MB / 0.6142 GB, free: 3.984 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.515, allocations: 79.97 kB / 0.6142 GB, free: 3.906 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5779/1.093, allocations: 132.3 MB / 0.7434 GB, free: 89.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.416e-06/1.093, allocations: 0 / 0.7434 GB, free: 89.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003494/1.093, allocations: 137.6 kB / 0.7435 GB, free: 89.08 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: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02196/1.115, allocations: 6.947 MB / 0.7503 GB, free: 85.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.115, allocations: 7.812 kB / 0.7503 GB, free: 85.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03388/1.149, allocations: 9.41 MB / 0.7595 GB, free: 81.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0203/1.17, allocations: 8.143 MB / 0.7675 GB, free: 77.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/1.17, allocations: 495.4 kB / 0.768 GB, free: 76.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002608/1.173, allocations: 0.6403 MB / 0.7686 GB, free: 76.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02765/1.2, allocations: 15.24 MB / 0.7835 GB, free: 60.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000367/1.201, allocations: 91.19 kB / 0.7835 GB, free: 60 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001424/1.202, allocations: 311.9 kB / 0.7838 GB, free: 59.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001481/1.204, allocations: 1.338 MB / 0.7852 GB, free: 58.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02145/1.225, allocations: 12 MB / 0.7969 GB, free: 46.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07034/1.296, allocations: 67.57 MB / 0.8629 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/1.308, allocations: 5.292 MB / 0.868 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/1.308, allocations: 40.95 kB / 0.8681 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/1.308, allocations: 55.5 kB / 0.8681 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 4.658e-06/1.308, allocations: 0 / 0.8681 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.352/1.66, allocations: 19.87 MB / 0.8875 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/1.661, allocations: 254 kB / 0.8878 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01322/1.674, allocations: 5.986 MB / 0.8936 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005575/1.674, allocations: 54.28 kB / 0.8937 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004248/1.679, allocations: 4.676 MB / 0.8982 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.68, allocations: 0.8294 MB / 0.899 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005868/1.681, allocations: 155.6 kB / 0.8992 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004499/1.681, allocations: 0.6369 MB / 0.8998 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004076/1.685, allocations: 2.453 MB / 0.9022 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00695/1.692, allocations: 7.387 MB / 0.9094 GB, free: 98.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007783/1.7, allocations: 4.177 MB / 0.9135 GB, free: 97.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003567/1.7, allocations: 49.69 kB / 0.9135 GB, free: 97.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02387/1.724, allocations: 10.15 MB / 0.9235 GB, free: 94.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004694/1.725, allocations: 79.91 kB / 0.9235 GB, free: 94.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006628/1.725, allocations: 178.6 kB / 0.9237 GB, free: 94.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/1.728, allocations: 0.8027 MB / 0.9245 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007234/1.735, allocations: 1.75 MB / 0.9262 GB, free: 93.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009946/1.745, allocations: 8.44 MB / 0.9344 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008987/1.754, allocations: 405.1 kB / 0.9348 GB, free: 87.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002043/1.756, allocations: 488.6 kB / 0.9353 GB, free: 87.66 MB / 0.5105 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 () * Number of clocked 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.008045/1.764, allocations: 3.041 MB / 0.9383 GB, free: 86.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001626/1.766, allocations: 0.5543 MB / 0.9388 GB, free: 85.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006788/1.773, allocations: 3.394 MB / 0.9421 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-05/1.773, allocations: 26.33 kB / 0.9421 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.881e-05/1.773, allocations: 11.38 kB / 0.9421 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/1.773, allocations: 13.42 kB / 0.9422 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02451/1.797, allocations: 9.549 MB / 0.9515 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.496e-05/1.797, allocations: 3.656 kB / 0.9515 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/1.799, allocations: 292.2 kB / 0.9518 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/1.801, allocations: 0.4991 MB / 0.9523 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/1.801, allocations: 30.28 kB / 0.9523 GB, free: 80.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007209/1.808, allocations: 7.546 MB / 0.9597 GB, free: 75.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.808, allocations: 2.469 kB / 0.9597 GB, free: 75.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.818, allocations: 6.232 MB / 0.9657 GB, free: 72.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003578/1.822, allocations: 0.6206 MB / 0.9663 GB, free: 72.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002527/1.824, allocations: 31.75 kB / 0.9664 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003505/1.828, allocations: 105 kB / 0.9665 GB, free: 72.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004314/1.828, allocations: 125.7 kB / 0.9666 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.829, allocations: 57.3 kB / 0.9667 GB, free: 71.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009727/1.838, allocations: 4.272 MB / 0.9708 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.322e-06/1.838, allocations: 112 / 0.9708 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01038/1.849, allocations: 1.391 MB / 0.9722 GB, free: 68.33 MB / 0.5105 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 () * Number of clocked 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.0008176/1.85, allocations: 187.5 kB / 0.9724 GB, free: 68.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.86, allocations: 6.259 MB / 0.9785 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.86, allocations: 0 / 0.9785 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002511/1.862, allocations: 1.955 MB / 0.9804 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005592/1.868, allocations: 0.754 MB / 0.9811 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02841/1.896, allocations: 15.66 MB / 0.9964 GB, free: 45.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008831/1.905, allocations: 4.772 MB / 1.001 GB, free: 42.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007978/1.913, allocations: 2.537 MB / 1.004 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/1.915, allocations: 348.9 kB / 1.004 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.243e-06/1.915, allocations: 0 / 1.004 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.1024/2.017, allocations: 50.72 MB / 1.053 GB, free: 10.64 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