Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001647/0.001647, allocations: 185.1 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.699/1.699, 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.001114/0.001114, allocations: 86.86 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.2166/0.2166, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002914, allocations: 11.98 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 58.85 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4112/0.5388, allocations: 107 MB / 0.5833 GB, free: 9.098 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.539, allocations: 84.27 kB / 0.5833 GB, free: 9.055 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2805/0.8196, allocations: 115 MB / 0.6956 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8196, allocations: 4 kB / 0.6956 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002743/0.8199, allocations: 112 kB / 0.6957 GB, free: 13.59 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01735/0.8372, allocations: 5.947 MB / 0.7015 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.8373, allocations: 16.02 kB / 0.7016 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02723/0.8645, allocations: 6.95 MB / 0.7083 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2547/1.119, allocations: 6.894 MB / 0.7151 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005967/1.12, allocations: 421 kB / 0.7155 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002958/1.123, allocations: 0.5467 MB / 0.716 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03254/1.155, allocations: 13.37 MB / 0.7291 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004039/1.156, allocations: 74.14 kB / 0.7291 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001742/1.158, allocations: 271.3 kB / 0.7294 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001707/1.159, allocations: 1.254 MB / 0.7306 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/1.18, allocations: 10.67 MB / 0.7411 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05996/1.24, allocations: 59.77 MB / 0.7994 GB, free: 59.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/1.25, allocations: 4.651 MB / 0.804 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01351/1.264, allocations: 6.482 MB / 0.8103 GB, free: 54.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/1.264, allocations: 61.8 kB / 0.8104 GB, free: 54.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=183): time 5.41e-06/1.264, allocations: 0 / 0.8104 GB, free: 54.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=195): time 0.03654/1.3, allocations: 16.93 MB / 0.8269 GB, free: 46.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/1.301, allocations: 230.1 kB / 0.8271 GB, free: 46.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008552/1.309, allocations: 5.231 MB / 0.8322 GB, free: 44.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005914/1.31, allocations: 53.52 kB / 0.8323 GB, free: 44.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003211/1.313, allocations: 4.14 MB / 0.8363 GB, free: 41.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001052/1.314, allocations: 0.7698 MB / 0.8371 GB, free: 40.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004526/1.315, allocations: 140 kB / 0.8372 GB, free: 40.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004096/1.315, allocations: 0.6087 MB / 0.8378 GB, free: 40.06 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003139/1.318, allocations: 2.302 MB / 0.84 GB, free: 38.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00491/1.323, allocations: 6.803 MB / 0.8467 GB, free: 29.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005246/1.328, allocations: 3.899 MB / 0.8505 GB, free: 26.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001475/1.328, allocations: 48 kB / 0.8505 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=937) (initialization): time 0.01789/1.346, allocations: 9.278 MB / 0.8596 GB, free: 17.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.347, allocations: 76 kB / 0.8597 GB, free: 17.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002189/1.347, allocations: 164.2 kB / 0.8598 GB, free: 17.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/1.348, allocations: 0.6031 MB / 0.8604 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00519/1.353, allocations: 1.65 MB / 0.862 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00522/1.359, allocations: 5.834 MB / 0.8677 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006879/1.365, allocations: 389.6 kB / 0.8681 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/1.367, allocations: 446.7 kB / 0.8685 GB, free: 9.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (885): * Single equations (assignments): 880 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005542/1.373, allocations: 2.698 MB / 0.8712 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.374, allocations: 493.6 kB / 0.8716 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004943/1.379, allocations: 3.066 MB / 0.8746 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/1.379, allocations: 20 kB / 0.8746 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.379, allocations: 8 kB / 0.8746 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/1.379, allocations: 10.08 kB / 0.8747 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/1.395, allocations: 8.584 MB / 0.883 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/1.395, allocations: 7.906 kB / 0.883 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.397, allocations: 321.8 kB / 0.8833 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/1.398, allocations: 370.2 kB / 0.8837 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/1.398, allocations: 35.33 kB / 0.8837 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005686/1.404, allocations: 5.17 MB / 0.8888 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.404, allocations: 11.62 kB / 0.8888 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008439/1.412, allocations: 6.153 MB / 0.8948 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002729/1.415, allocations: 0.7913 MB / 0.8956 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000768/1.416, allocations: 38.02 kB / 0.8956 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/1.418, allocations: 96.36 kB / 0.8957 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/1.418, allocations: 119.4 kB / 0.8958 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.418, allocations: 55.7 kB / 0.8959 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.2973/1.715, allocations: 3.891 MB / 0.8997 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.312e-06/1.715, allocations: 0 / 0.8997 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008947/1.724, allocations: 1.226 MB / 0.9009 GB, free: 106.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005588/1.725, allocations: 173.4 kB / 0.901 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01234/1.737, allocations: 5.721 MB / 0.9066 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.737, allocations: 0 / 0.9066 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002984/1.74, allocations: 1.712 MB / 0.9083 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004284/1.745, allocations: 0.6026 MB / 0.9089 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/1.769, allocations: 13.78 MB / 0.9223 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005487/1.775, allocations: 4.246 MB / 0.9265 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006026/1.781, allocations: 2.331 MB / 0.9288 GB, free: 99.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009328/1.782, allocations: 313.3 kB / 0.9291 GB, free: 99.62 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/1.782, allocations: 0 / 0.9291 GB, free: 99.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.07935/1.861, allocations: 43.33 MB / 0.9714 GB, free: 97.48 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches