Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,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_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 184.6 kB / 15.76 MB, free: 6.363 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.375/1.375, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009457/0.0009457, allocations: 94.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1927/0.1927, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1267, allocations: 58.87 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4628/0.5895, allocations: 108.8 MB / 0.585 GB, free: 7.359 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5898, allocations: 74.41 kB / 0.5851 GB, free: 7.324 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7891/1.379, allocations: 152.6 MB / 0.7341 GB, free: 95.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.826e-06/1.379, allocations: 0 / 0.7341 GB, free: 95.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005154/1.38, allocations: 156.3 kB / 0.7342 GB, free: 95.69 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.03504/1.415, allocations: 8.021 MB / 0.7421 GB, free: 92.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/1.415, allocations: 11.69 kB / 0.7421 GB, free: 92.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03853/1.453, allocations: 9.624 MB / 0.7515 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02959/1.483, allocations: 9.182 MB / 0.7605 GB, free: 91.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007628/1.484, allocations: 0.5815 MB / 0.761 GB, free: 91.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004976/1.489, allocations: 0.768 MB / 0.7618 GB, free: 91.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0561/1.545, allocations: 18.18 MB / 0.7795 GB, free: 86.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00107/1.546, allocations: 107 kB / 0.7796 GB, free: 86.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005658/1.552, allocations: 372.1 kB / 0.78 GB, free: 86.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003352/1.555, allocations: 1.695 MB / 0.7816 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0337/1.589, allocations: 14.62 MB / 0.7959 GB, free: 82.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09756/1.686, allocations: 80.91 MB / 0.8749 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/1.702, allocations: 7.218 MB / 0.882 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003121/1.703, allocations: 59.55 kB / 0.882 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/1.703, allocations: 72.56 kB / 0.8821 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 6.612e-06/1.703, allocations: 0 / 0.8821 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of matching and sorting (n=340): time 0.4371/2.14, allocations: 31.78 MB / 0.9131 GB, free: 98.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/2.14, allocations: 295.6 kB / 0.9134 GB, free: 97.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02019/2.16, allocations: 6.601 MB / 0.9199 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001116/2.162, allocations: 77.73 kB / 0.9199 GB, free: 97.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005688/2.167, allocations: 5.377 MB / 0.9252 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002294/2.17, allocations: 1.28 MB / 0.9265 GB, free: 94.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/2.171, allocations: 198.3 kB / 0.9266 GB, free: 94.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005179/2.171, allocations: 0.7096 MB / 0.9273 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00613/2.177, allocations: 3.691 MB / 0.9309 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009381/2.187, allocations: 9.304 MB / 0.94 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009776/2.197, allocations: 5.732 MB / 0.9456 GB, free: 86.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003361/2.197, allocations: 55.38 kB / 0.9457 GB, free: 86.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.03157/2.228, allocations: 13.95 MB / 0.9593 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004649/2.229, allocations: 88.84 kB / 0.9594 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006286/2.23, allocations: 199.1 kB / 0.9596 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003772/2.233, allocations: 1.377 MB / 0.9609 GB, free: 85.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009428/2.243, allocations: 2.244 MB / 0.9631 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/2.257, allocations: 11.52 MB / 0.9744 GB, free: 77.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/2.269, allocations: 0.5347 MB / 0.9749 GB, free: 77.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00324/2.272, allocations: 0.5672 MB / 0.9754 GB, free: 77.49 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 902 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1175): * Single equations (assignments): 1169 * 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%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01142/2.284, allocations: 3.598 MB / 0.9789 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002858/2.286, allocations: 0.6463 MB / 0.9796 GB, free: 75.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/2.301, allocations: 6.667 MB / 0.9861 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.805e-05/2.301, allocations: 36.47 kB / 0.9861 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.084e-05/2.301, allocations: 6.969 kB / 0.9861 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.437e-05/2.301, allocations: 23.53 kB / 0.9862 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03722/2.338, allocations: 15.48 MB / 1.001 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-05/2.338, allocations: 3.281 kB / 1.001 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003167/2.341, allocations: 0.5849 MB / 1.002 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00291/2.344, allocations: 1.047 MB / 1.003 GB, free: 66.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004677/2.345, allocations: 61.22 kB / 1.003 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/2.356, allocations: 10.51 MB / 1.013 GB, free: 60.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/2.356, allocations: 0 / 1.013 GB, free: 60.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/2.373, allocations: 11.26 MB / 1.024 GB, free: 53.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004916/2.378, allocations: 1.214 MB / 1.025 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002379/2.38, allocations: 52 kB / 1.025 GB, free: 52.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004499/2.385, allocations: 209.5 kB / 1.026 GB, free: 52.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006257/2.385, allocations: 199.4 kB / 1.026 GB, free: 52.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000316/2.386, allocations: 87.72 kB / 1.026 GB, free: 51.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01056/2.396, allocations: 4.707 MB / 1.03 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.62e-07/2.396, allocations: 2.812 kB / 1.03 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01248/2.409, allocations: 1.795 MB / 1.032 GB, free: 46.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (286): * Single equations (assignments): 280 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/2.41, allocations: 211.9 kB / 1.032 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0155/2.425, allocations: 9.263 MB / 1.041 GB, free: 38.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/2.425, allocations: 3.094 kB / 1.041 GB, free: 38.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005605/2.431, allocations: 3.543 MB / 1.045 GB, free: 34.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005963/2.437, allocations: 0.8256 MB / 1.046 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0421/2.479, allocations: 20.1 MB / 1.065 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01297/2.492, allocations: 5.621 MB / 1.071 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01142/2.504, allocations: 3.171 MB / 1.074 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002656/2.506, allocations: 442 kB / 1.074 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of SimCode: time 2.074e-06/2.506, allocations: 0 / 1.074 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of Templates: time 0.4668/2.973, allocations: 66.46 MB / 1.139 GB, free: 100.8 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches