Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,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_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,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_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001092/0.001092, allocations: 86.7 kB / 267.5 MB, free: 14.11 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.2758/0.2758, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.529e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5789/0.702, allocations: 105.9 MB / 0.5762 GB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003986/0.7025, allocations: 81.48 kB / 0.5763 GB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007/1.709, allocations: 143.7 MB / 0.7166 GB, free: 93.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.785e-06/1.709, allocations: 0 / 0.7166 GB, free: 93.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005547/1.71, allocations: 140.4 kB / 0.7167 GB, free: 93.29 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.03152/1.741, allocations: 6.853 MB / 0.7234 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.742, allocations: 9.531 kB / 0.7234 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07154/1.813, allocations: 9.541 MB / 0.7327 GB, free: 90.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03077/1.844, allocations: 8.849 MB / 0.7414 GB, free: 89.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006988/1.845, allocations: 0.5255 MB / 0.7419 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004008/1.849, allocations: 0.7077 MB / 0.7426 GB, free: 89.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05155/1.9, allocations: 16.54 MB / 0.7587 GB, free: 85.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007605/1.901, allocations: 98.62 kB / 0.7588 GB, free: 85.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004284/1.905, allocations: 339.4 kB / 0.7592 GB, free: 85.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003653/1.909, allocations: 1.535 MB / 0.7607 GB, free: 85.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04229/1.951, allocations: 13.11 MB / 0.7735 GB, free: 85.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.11/2.062, allocations: 72.67 MB / 0.8444 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02249/2.084, allocations: 5.865 MB / 0.8502 GB, free: 26.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006009/2.09, allocations: 3.065 MB / 0.8532 GB, free: 23.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/2.091, allocations: 55.45 kB / 0.8532 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/2.091, allocations: 63.06 kB / 0.8533 GB, free: 23.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=249): time 6.822e-06/2.091, allocations: 4 kB / 0.8533 GB, free: 23.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=267): time 0.08249/2.173, allocations: 19.5 MB / 0.8723 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/2.173, allocations: 257.2 kB / 0.8726 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0159/2.189, allocations: 6.155 MB / 0.8786 GB, free: 416 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007738/2.19, allocations: 61.7 kB / 0.8786 GB, free: 348 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008226/2.198, allocations: 4.962 MB / 0.8835 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001974/2.2, allocations: 1.033 MB / 0.8845 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/2.202, allocations: 175.4 kB / 0.8847 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009676/2.203, allocations: 0.678 MB / 0.8853 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008964/2.212, allocations: 2.879 MB / 0.8881 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01403/2.226, allocations: 8.149 MB / 0.8961 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/2.238, allocations: 4.818 MB / 0.9008 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000189/2.238, allocations: 52 kB / 0.9008 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.4125/2.651, allocations: 11.13 MB / 0.9117 GB, free: 105 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001908/2.651, allocations: 88.28 kB / 0.9118 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003964/2.651, allocations: 190.1 kB / 0.912 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/2.655, allocations: 0.8349 MB / 0.9128 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01357/2.669, allocations: 1.994 MB / 0.9147 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/2.684, allocations: 8.495 MB / 0.923 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/2.695, allocations: 476.6 kB / 0.9235 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002475/2.698, allocations: 0.5184 MB / 0.924 GB, free: 101.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],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 (1059): * Single equations (assignments): 1053 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003735/2.702, allocations: 0.7789 MB / 0.9248 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002007/2.704, allocations: 0.5963 MB / 0.9253 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/2.719, allocations: 4.453 MB / 0.9297 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.294e-05/2.719, allocations: 36.64 kB / 0.9297 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.714e-05/2.72, allocations: 7.156 kB / 0.9297 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.229e-05/2.72, allocations: 14.05 kB / 0.9297 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03648/2.756, allocations: 11.61 MB / 0.9411 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.509e-05/2.756, allocations: 3.406 kB / 0.9411 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0046/2.761, allocations: 437.4 kB / 0.9415 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00269/2.764, allocations: 0.525 MB / 0.942 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006659/2.764, allocations: 44.78 kB / 0.9421 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/2.776, allocations: 7.574 MB / 0.9494 GB, free: 96.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.776, allocations: 6.016 kB / 0.9495 GB, free: 96.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01886/2.795, allocations: 7.881 MB / 0.9572 GB, free: 95.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004434/2.8, allocations: 1.011 MB / 0.9581 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002272/2.802, allocations: 43.47 kB / 0.9582 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005604/2.808, allocations: 151.4 kB / 0.9583 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001047/2.809, allocations: 164.5 kB / 0.9585 GB, free: 95.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003555/2.809, allocations: 71.47 kB / 0.9585 GB, free: 95.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01231/2.821, allocations: 4.369 MB / 0.9628 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.92e-07/2.821, allocations: 1.594 kB / 0.9628 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01158/2.833, allocations: 1.569 MB / 0.9644 GB, free: 94.92 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,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/2.834, allocations: 195.9 kB / 0.9645 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01707/2.851, allocations: 7.352 MB / 0.9717 GB, free: 94.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/2.851, allocations: 0 / 0.9717 GB, free: 94.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005845/2.857, allocations: 2.489 MB / 0.9741 GB, free: 92.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006801/2.864, allocations: 0.7646 MB / 0.9749 GB, free: 92.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03759/2.902, allocations: 13.19 MB / 0.9878 GB, free: 87.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01226/2.914, allocations: 5.214 MB / 0.9929 GB, free: 86.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002877/2.917, allocations: 465.5 kB / 0.9933 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.904e-06/2.917, allocations: 3.719 kB / 0.9933 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.7034/3.62, allocations: 177.8 MB / 1.167 GB, free: 116.8 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches