Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,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.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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001478, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.974/1.974, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.00112/0.00112, allocations: 100.3 kB / 270.9 MB, free: 8.391 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.5037/0.5037, allocations: 43.56 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.000462, allocations: 12 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1255, allocations: 58.84 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4954/0.621, allocations: 105.8 MB / 0.582 GB, free: 12.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.6214, allocations: 83.95 kB / 0.5821 GB, free: 12.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9004/1.522, allocations: 137.7 MB / 0.7166 GB, free: 83.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.522, allocations: 0.9688 kB / 0.7166 GB, free: 83.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005388/1.522, allocations: 145.4 kB / 0.7168 GB, free: 83.9 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.03226/1.555, allocations: 7.268 MB / 0.7239 GB, free: 80.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.555, allocations: 9.625 kB / 0.7239 GB, free: 80.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06915/1.624, allocations: 9.48 MB / 0.7331 GB, free: 80.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03102/1.655, allocations: 8.779 MB / 0.7417 GB, free: 79.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006622/1.656, allocations: 0.509 MB / 0.7422 GB, free: 79.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003775/1.66, allocations: 0.6773 MB / 0.7429 GB, free: 79.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04947/1.709, allocations: 16.12 MB / 0.7586 GB, free: 70.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005591/1.71, allocations: 99.91 kB / 0.7587 GB, free: 70.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003311/1.713, allocations: 332.4 kB / 0.759 GB, free: 70.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00324/1.716, allocations: 1.457 MB / 0.7604 GB, free: 70.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04085/1.757, allocations: 12.87 MB / 0.773 GB, free: 66.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1055/1.863, allocations: 70.8 MB / 0.8421 GB, free: 15.84 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02568/1.888, allocations: 5.911 MB / 0.8479 GB, free: 9.762 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003629/1.889, allocations: 44.47 kB / 0.848 GB, free: 9.734 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.619e-05/1.889, allocations: 68.02 kB / 0.848 GB, free: 9.66 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=242): time 7.324e-06/1.889, allocations: 4 kB / 0.848 GB, free: 9.656 MB / 0.4949 GB Notification: Performance of matching and sorting (n=260): time 0.4737/2.363, allocations: 22.5 MB / 0.87 GB, free: 87.52 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/2.363, allocations: 260.1 kB / 0.8702 GB, free: 87.23 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01808/2.381, allocations: 6.171 MB / 0.8763 GB, free: 86.75 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007153/2.382, allocations: 63.86 kB / 0.8763 GB, free: 86.72 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004568/2.386, allocations: 4.623 MB / 0.8808 GB, free: 84.33 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001723/2.388, allocations: 1.007 MB / 0.8818 GB, free: 83.77 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/2.389, allocations: 165.8 kB / 0.882 GB, free: 83.77 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006814/2.39, allocations: 0.6647 MB / 0.8826 GB, free: 83.44 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008129/2.398, allocations: 2.868 MB / 0.8854 GB, free: 83.41 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/2.41, allocations: 8.009 MB / 0.8933 GB, free: 76.77 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/2.422, allocations: 4.684 MB / 0.8978 GB, free: 76.74 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002738/2.423, allocations: 51.53 kB / 0.8979 GB, free: 76.74 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.03365/2.456, allocations: 10.97 MB / 0.9086 GB, free: 73.64 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.000204/2.457, allocations: 85.58 kB / 0.9087 GB, free: 73.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004353/2.457, allocations: 183 kB / 0.9089 GB, free: 73.64 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00368/2.461, allocations: 0.8086 MB / 0.9096 GB, free: 73.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01228/2.473, allocations: 1.932 MB / 0.9115 GB, free: 73.26 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/2.487, allocations: 8.463 MB / 0.9198 GB, free: 67.39 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01066/2.498, allocations: 457.7 kB / 0.9202 GB, free: 67.23 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/2.5, allocations: 0.5107 MB / 0.9207 GB, free: 67.16 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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 (1036): * Single equations (assignments): 1030 * 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.01008/2.51, allocations: 3.204 MB / 0.9239 GB, free: 65.68 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/2.512, allocations: 0.5939 MB / 0.9244 GB, free: 65.35 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/2.526, allocations: 4.339 MB / 0.9287 GB, free: 63.67 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.417e-05/2.526, allocations: 31.56 kB / 0.9287 GB, free: 63.67 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.772e-05/2.526, allocations: 9.469 kB / 0.9287 GB, free: 63.67 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-05/2.527, allocations: 13.27 kB / 0.9287 GB, free: 63.67 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03508/2.562, allocations: 11.24 MB / 0.9397 GB, free: 59.47 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/2.562, allocations: 3.969 kB / 0.9397 GB, free: 59.47 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004083/2.566, allocations: 408.1 kB / 0.9401 GB, free: 59.44 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/2.569, allocations: 0.4995 MB / 0.9406 GB, free: 59.3 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000752/2.569, allocations: 48.55 kB / 0.9406 GB, free: 59.27 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/2.581, allocations: 7.544 MB / 0.948 GB, free: 53.73 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/2.581, allocations: 3.719 kB / 0.948 GB, free: 53.73 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/2.6, allocations: 7.738 MB / 0.9556 GB, free: 50.27 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004154/2.604, allocations: 0.9935 MB / 0.9565 GB, free: 49.67 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002149/2.606, allocations: 42.88 kB / 0.9566 GB, free: 49.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005276/2.611, allocations: 141.7 kB / 0.9567 GB, free: 49.61 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009777/2.612, allocations: 149.8 kB / 0.9568 GB, free: 49.58 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003167/2.613, allocations: 66.05 kB / 0.9569 GB, free: 49.56 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01182/2.625, allocations: 4.408 MB / 0.9612 GB, free: 48.11 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.122e-06/2.625, allocations: 0 / 0.9612 GB, free: 48.11 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01185/2.636, allocations: 1.517 MB / 0.9627 GB, free: 47.94 MB / 0.4949 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 (215): * Single equations (assignments): 209 * 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.001024/2.638, allocations: 192.3 kB / 0.9629 GB, free: 47.79 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0171/2.655, allocations: 7.258 MB / 0.97 GB, free: 45.05 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/2.655, allocations: 0 / 0.97 GB, free: 45.05 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00555/2.66, allocations: 2.446 MB / 0.9724 GB, free: 43.94 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006718/2.667, allocations: 0.7542 MB / 0.9731 GB, free: 43.62 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04205/2.709, allocations: 17.87 MB / 0.9906 GB, free: 29.62 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01244/2.722, allocations: 5.042 MB / 0.9955 GB, free: 25.92 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002756/2.724, allocations: 456.8 kB / 0.9959 GB, free: 25.49 MB / 0.4949 GB Notification: Performance of SimCode: time 1.463e-06/2.725, allocations: 4 kB / 0.9959 GB, free: 25.49 MB / 0.4949 GB Notification: Performance of Templates: time 0.7073/3.432, allocations: 171.7 MB / 1.164 GB, free: 63.79 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches