Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001473, allocations: 185.9 kB / 16.4 MB, free: 5.746 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.946/1.946, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001189/0.001189, allocations: 94 kB / 270.9 MB, free: 8.375 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.5436/0.5436, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004465, allocations: 15.98 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.121, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4936/0.6146, allocations: 106.8 MB / 0.5831 GB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.615, allocations: 83.89 kB / 0.5831 GB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8073/1.422, allocations: 111.3 MB / 0.6918 GB, free: 86.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.422, allocations: 3.188 kB / 0.6918 GB, free: 86.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004103/1.423, allocations: 99.31 kB / 0.6919 GB, free: 86.34 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02529/1.448, allocations: 5.823 MB / 0.6976 GB, free: 83.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.448, allocations: 9.594 kB / 0.6976 GB, free: 83.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05308/1.501, allocations: 6.924 MB / 0.7044 GB, free: 83.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02529/1.527, allocations: 6.835 MB / 0.711 GB, free: 82.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006288/1.527, allocations: 402.2 kB / 0.7114 GB, free: 82.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003261/1.531, allocations: 0.5333 MB / 0.7119 GB, free: 82.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04263/1.573, allocations: 13 MB / 0.7246 GB, free: 79.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005145/1.574, allocations: 80.22 kB / 0.7247 GB, free: 79.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002881/1.577, allocations: 266.9 kB / 0.725 GB, free: 79.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002924/1.58, allocations: 1.208 MB / 0.7262 GB, free: 79.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03221/1.612, allocations: 10.38 MB / 0.7363 GB, free: 77.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08351/1.696, allocations: 58.49 MB / 0.7934 GB, free: 32.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01892/1.714, allocations: 4.683 MB / 0.798 GB, free: 31.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01787/1.732, allocations: 6.852 MB / 0.8047 GB, free: 27.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/1.733, allocations: 58.47 kB / 0.8047 GB, free: 27.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 6.462e-06/1.733, allocations: 0 / 0.8047 GB, free: 27.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.06831/1.801, allocations: 15.79 MB / 0.8202 GB, free: 18.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/1.801, allocations: 203.4 kB / 0.8203 GB, free: 18.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/1.814, allocations: 5.171 MB / 0.8254 GB, free: 13.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004765/1.815, allocations: 53.7 kB / 0.8254 GB, free: 13.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003528/1.818, allocations: 3.834 MB / 0.8292 GB, free: 10.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00121/1.82, allocations: 0.7596 MB / 0.8299 GB, free: 9.637 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009752/1.821, allocations: 140 kB / 0.8301 GB, free: 9.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005323/1.821, allocations: 0.6079 MB / 0.8307 GB, free: 8.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006022/1.827, allocations: 2.271 MB / 0.8329 GB, free: 7.066 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00919/1.837, allocations: 6.691 MB / 0.8394 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.847, allocations: 3.826 MB / 0.8431 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001687/1.847, allocations: 44 kB / 0.8432 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.02748/1.874, allocations: 8.901 MB / 0.8519 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/1.875, allocations: 72 kB / 0.852 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002985/1.875, allocations: 156 kB / 0.8521 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/1.877, allocations: 0.5913 MB / 0.8527 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/1.888, allocations: 1.618 MB / 0.8543 GB, free: 36 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/1.899, allocations: 5.706 MB / 0.8598 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008317/1.907, allocations: 375.4 kB / 0.8602 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/1.909, allocations: 436 kB / 0.8606 GB, free: 9.277 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (871): * Single equations (assignments): 866 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008328/1.917, allocations: 2.627 MB / 0.8632 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001431/1.919, allocations: 489.6 kB / 0.8636 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/1.929, allocations: 3.007 MB / 0.8666 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.27e-05/1.929, allocations: 20 kB / 0.8666 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/1.929, allocations: 11.83 kB / 0.8666 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-05/1.929, allocations: 7.969 kB / 0.8666 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3942/2.323, allocations: 8.168 MB / 0.8746 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/2.323, allocations: 3.062 kB / 0.8746 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002893/2.326, allocations: 288 kB / 0.8749 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/2.328, allocations: 344.3 kB / 0.8752 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003589/2.328, allocations: 33.16 kB / 0.8752 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008073/2.336, allocations: 5.049 MB / 0.8802 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/2.336, allocations: 4.781 kB / 0.8802 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/2.35, allocations: 5.973 MB / 0.886 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002881/2.353, allocations: 0.7936 MB / 0.8868 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/2.354, allocations: 30.58 kB / 0.8868 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/2.357, allocations: 96.48 kB / 0.8869 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/2.357, allocations: 115.7 kB / 0.887 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/2.357, allocations: 52.8 kB / 0.8871 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009185/2.367, allocations: 3.696 MB / 0.8907 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.71e-07/2.367, allocations: 0 / 0.8907 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008096/2.375, allocations: 1.201 MB / 0.8918 GB, free: 100.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0006312/2.375, allocations: 176 kB / 0.892 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01293/2.388, allocations: 5.63 MB / 0.8975 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/2.388, allocations: 0 / 0.8975 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003823/2.392, allocations: 1.678 MB / 0.8991 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004969/2.397, allocations: 0.5923 MB / 0.8997 GB, free: 99.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03563/2.433, allocations: 13.99 MB / 0.9134 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01168/2.445, allocations: 4.146 MB / 0.9174 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002292/2.447, allocations: 366.2 kB / 0.9178 GB, free: 93.85 MB / 0.5105 GB Notification: Performance of SimCode: time 1.442e-06/2.447, allocations: 1.344 kB / 0.9178 GB, free: 93.85 MB / 0.5105 GB Notification: Performance of Templates: time 0.2182/2.665, allocations: 115.4 MB / 1.031 GB, free: 26.43 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches