Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001532/0.001532, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.96/1.96, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001073/0.001073, allocations: 89.55 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5113/0.5113, allocations: 43.54 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004842, allocations: 12 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1241, allocations: 58.85 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5/0.6242, allocations: 108.8 MB / 0.585 GB, free: 9.941 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.6246, allocations: 83.95 kB / 0.585 GB, free: 9.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9503/1.575, allocations: 152.6 MB / 0.7341 GB, free: 83.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.575, allocations: 0 / 0.7341 GB, free: 83.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005498/1.576, allocations: 152.7 kB / 0.7342 GB, free: 83.67 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: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.0342/1.61, allocations: 8.031 MB / 0.7421 GB, free: 80.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.61, allocations: 7.625 kB / 0.7421 GB, free: 80.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07056/1.68, allocations: 9.627 MB / 0.7515 GB, free: 78.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03346/1.714, allocations: 9.18 MB / 0.7604 GB, free: 75.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007965/1.715, allocations: 0.5735 MB / 0.761 GB, free: 75.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004506/1.719, allocations: 0.7699 MB / 0.7617 GB, free: 74.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0562/1.776, allocations: 18.18 MB / 0.7795 GB, free: 64.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005808/1.776, allocations: 108.3 kB / 0.7796 GB, free: 64.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003815/1.78, allocations: 381.7 kB / 0.78 GB, free: 64.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003831/1.784, allocations: 1.695 MB / 0.7816 GB, free: 63.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04476/1.829, allocations: 14.61 MB / 0.7959 GB, free: 50.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5401/2.369, allocations: 80.9 MB / 0.8749 GB, free: 38.67 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02939/2.398, allocations: 7.218 MB / 0.882 GB, free: 37.96 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/2.399, allocations: 64.8 kB / 0.882 GB, free: 37.96 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/2.399, allocations: 66.16 kB / 0.8821 GB, free: 37.92 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=307): time 6.933e-06/2.399, allocations: 3.312 kB / 0.8821 GB, free: 37.92 MB / 0.4949 GB Notification: Performance of matching and sorting (n=340): time 0.1375/2.536, allocations: 31.77 MB / 0.9131 GB, free: 30.56 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/2.537, allocations: 296.3 kB / 0.9134 GB, free: 30.25 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02075/2.557, allocations: 6.61 MB / 0.9198 GB, free: 29.74 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009867/2.558, allocations: 81.08 kB / 0.9199 GB, free: 29.71 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005095/2.564, allocations: 5.092 MB / 0.9249 GB, free: 26.88 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002416/2.566, allocations: 1.28 MB / 0.9261 GB, free: 26.14 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001813/2.568, allocations: 192.2 kB / 0.9263 GB, free: 26.14 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009975/2.569, allocations: 0.7179 MB / 0.927 GB, free: 25.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01073/2.58, allocations: 3.694 MB / 0.9306 GB, free: 25 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01502/2.595, allocations: 9.304 MB / 0.9397 GB, free: 16.25 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/2.609, allocations: 5.73 MB / 0.9453 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002234/2.609, allocations: 59.69 kB / 0.9454 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.03848/2.647, allocations: 13.66 MB / 0.9587 GB, free: 10.08 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/2.647, allocations: 89.28 kB / 0.9588 GB, free: 10.08 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003587/2.648, allocations: 200.3 kB / 0.959 GB, free: 10.08 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005895/2.654, allocations: 1.38 MB / 0.9603 GB, free: 9.84 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01468/2.668, allocations: 2.245 MB / 0.9625 GB, free: 9.574 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/2.69, allocations: 11.51 MB / 0.9738 GB, free: 18.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01234/2.702, allocations: 0.5399 MB / 0.9743 GB, free: 18.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002508/2.705, allocations: 0.5673 MB / 0.9749 GB, free: 18.26 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.0109/2.716, allocations: 3.598 MB / 0.9784 GB, free: 16.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002239/2.718, allocations: 0.6438 MB / 0.979 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02204/2.74, allocations: 6.669 MB / 0.9855 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.652e-05/2.74, allocations: 36.72 kB / 0.9855 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.77e-05/2.74, allocations: 17.39 kB / 0.9856 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.682e-05/2.74, allocations: 15.75 kB / 0.9856 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05164/2.792, allocations: 15.48 MB / 1.001 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/2.792, allocations: 4 kB / 1.001 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006302/2.798, allocations: 0.577 MB / 1.001 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005338/2.804, allocations: 1.066 MB / 1.002 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009541/2.805, allocations: 59.84 kB / 1.002 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02165/2.826, allocations: 10.52 MB / 1.013 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/2.826, allocations: 7.391 kB / 1.013 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04792/2.874, allocations: 12.24 MB / 1.025 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005426/2.88, allocations: 1.211 MB / 1.026 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002516/2.882, allocations: 60 kB / 1.026 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006733/2.889, allocations: 207.2 kB / 1.026 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001389/2.891, allocations: 197.2 kB / 1.026 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004839/2.891, allocations: 87.19 kB / 1.026 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01449/2.906, allocations: 4.706 MB / 1.031 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.71e-07/2.906, allocations: 4 kB / 1.031 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01361/2.919, allocations: 1.797 MB / 1.033 GB, free: 8.758 MB / 0.5417 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.001383/2.921, allocations: 205.2 kB / 1.033 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02512/2.946, allocations: 9.268 MB / 1.042 GB, free: 396 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/2.946, allocations: 0 / 1.042 GB, free: 396 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/2.957, allocations: 3.571 MB / 1.045 GB, free: 12.95 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007894/2.965, allocations: 0.8245 MB / 1.046 GB, free: 12.16 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05708/3.022, allocations: 20.97 MB / 1.067 GB, free: 7.219 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01536/3.037, allocations: 5.614 MB / 1.072 GB, free: 1.613 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003715/3.041, allocations: 0.511 MB / 1.073 GB, free: 1.102 MB / 0.573 GB Notification: Performance of SimCode: time 1.212e-06/3.041, allocations: 0 / 1.073 GB, free: 1.102 MB / 0.573 GB Notification: Performance of Templates: time 0.7516/3.793, allocations: 195.7 MB / 1.264 GB, free: 66.05 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches