Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 187 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 242.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008334/0.0008334, allocations: 96.22 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3171/0.3171, allocations: 44.15 MB / 388.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 8 kB / 461.1 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3547, allocations: 61.88 MB / 0.5107 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.4951, allocations: 108.4 MB / 0.6165 GB, free: 2.703 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.4954, allocations: 83.94 kB / 0.6166 GB, free: 2.625 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5569/1.052, allocations: 106.4 MB / 0.7205 GB, free: 95.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.807e-06/1.052, allocations: 0 / 0.7205 GB, free: 95.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000667/1.053, allocations: 102.4 kB / 0.7206 GB, free: 95.38 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02536/1.078, allocations: 5.397 MB / 0.7259 GB, free: 92.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.29e-05/1.079, allocations: 9.875 kB / 0.7259 GB, free: 92.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02612/1.105, allocations: 5.242 MB / 0.731 GB, free: 92.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/1.117, allocations: 5.252 MB / 0.7362 GB, free: 89.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003698/1.117, allocations: 390.2 kB / 0.7365 GB, free: 89.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002254/1.119, allocations: 0.5 MB / 0.737 GB, free: 89.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/1.143, allocations: 12.35 MB / 0.7491 GB, free: 83.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002354/1.143, allocations: 72.81 kB / 0.7492 GB, free: 82.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009071/1.144, allocations: 249.4 kB / 0.7494 GB, free: 82.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001285/1.145, allocations: 1.136 MB / 0.7505 GB, free: 82.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/1.163, allocations: 9.704 MB / 0.76 GB, free: 79.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05663/1.22, allocations: 56.33 MB / 0.815 GB, free: 27.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00905/1.229, allocations: 4.281 MB / 0.8192 GB, free: 22.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/1.231, allocations: 1.928 MB / 0.8211 GB, free: 20.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008126/1.239, allocations: 5.595 MB / 0.8265 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.239, allocations: 55.39 kB / 0.8266 GB, free: 15.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 4.518e-06/1.239, allocations: 0 / 0.8266 GB, free: 15.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.03056/1.27, allocations: 14.78 MB / 0.841 GB, free: 300 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/1.27, allocations: 226.2 kB / 0.8412 GB, free: 24 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008658/1.279, allocations: 5.614 MB / 0.8467 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002847/1.279, allocations: 45.7 kB / 0.8467 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002899/1.282, allocations: 3.868 MB / 0.8505 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008065/1.283, allocations: 0.6583 MB / 0.8512 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/1.283, allocations: 132 kB / 0.8513 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003923/1.283, allocations: 0.583 MB / 0.8519 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/1.286, allocations: 1.969 MB / 0.8538 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005581/1.292, allocations: 6.285 MB / 0.8599 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009355/1.301, allocations: 9.01 MB / 0.8687 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-05/1.301, allocations: 44 kB / 0.8688 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01365/1.315, allocations: 8.353 MB / 0.8769 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.309e-05/1.315, allocations: 76.22 kB / 0.877 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/1.315, allocations: 152 kB / 0.8771 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/1.316, allocations: 0.5807 MB / 0.8777 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004277/1.321, allocations: 1.489 MB / 0.8792 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2225/1.543, allocations: 5.734 MB / 0.8848 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00479/1.548, allocations: 346.7 kB / 0.8851 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006389/1.549, allocations: 415.7 kB / 0.8855 GB, free: 123.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 (809): * Single equations (assignments): 804 * 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.003952/1.553, allocations: 2.525 MB / 0.8879 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007805/1.553, allocations: 466.6 kB / 0.8884 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/1.557, allocations: 2.42 MB / 0.8908 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/1.557, allocations: 21.95 kB / 0.8908 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.557, allocations: 7.594 kB / 0.8908 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.557, allocations: 6.797 kB / 0.8908 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/1.569, allocations: 7.235 MB / 0.8979 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.569, allocations: 2.656 kB / 0.8979 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/1.57, allocations: 254.7 kB / 0.8981 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009301/1.571, allocations: 359.9 kB / 0.8984 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/1.571, allocations: 41.22 kB / 0.8985 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004529/1.575, allocations: 5.065 MB / 0.9034 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.575, allocations: 4.031 kB / 0.9034 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005665/1.581, allocations: 4.616 MB / 0.9079 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.582, allocations: 0.5257 MB / 0.9085 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005031/1.583, allocations: 30.78 kB / 0.9085 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.584, allocations: 74.12 kB / 0.9086 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/1.584, allocations: 100.9 kB / 0.9087 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.391e-05/1.585, allocations: 48.67 kB / 0.9087 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005292/1.59, allocations: 3.583 MB / 0.9122 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/1.59, allocations: 0 / 0.9122 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005488/1.595, allocations: 1.116 MB / 0.9133 GB, free: 116.7 MB / 0.5261 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 (120): * Single equations (assignments): 115 * 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.00037/1.596, allocations: 166.3 kB / 0.9134 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00695/1.603, allocations: 4.967 MB / 0.9183 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.603, allocations: 3.938 kB / 0.9183 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/1.604, allocations: 1.411 MB / 0.9197 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005348/1.61, allocations: 0.6167 MB / 0.9203 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.626, allocations: 12.55 MB / 0.9325 GB, free: 108 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004399/1.631, allocations: 3.859 MB / 0.9363 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004811/1.635, allocations: 2.139 MB / 0.9384 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005914/1.636, allocations: 287.6 kB / 0.9387 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of SimCode: time 8.51e-07/1.636, allocations: 7.938 kB / 0.9387 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.06567/1.702, allocations: 40.14 MB / 0.9779 GB, free: 98.42 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches