Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque,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_trunk_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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_trunk_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000807/0.0008071, allocations: 83.75 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1878/0.1878, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.353e-05, allocations: 4 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 63.24 MB / 0.5114 GB, free: 6.781 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4099/0.527, allocations: 109.8 MB / 0.6186 GB, free: 368 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5273, allocations: 74.34 kB / 0.6187 GB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3165/0.8438, allocations: 128.4 MB / 0.7441 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8439, allocations: 0 / 0.7441 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004645/0.8444, allocations: 128 kB / 0.7442 GB, free: 7.508 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02085/0.8652, allocations: 6.44 MB / 0.7505 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.8653, allocations: 11.97 kB / 0.7505 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3148/1.18, allocations: 7.057 MB / 0.7574 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01826/1.198, allocations: 6.314 MB / 0.7636 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005688/1.199, allocations: 478 kB / 0.764 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002883/1.202, allocations: 0.6224 MB / 0.7647 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03289/1.235, allocations: 15.16 MB / 0.7795 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002751/1.235, allocations: 96.58 kB / 0.7795 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001765/1.237, allocations: 310 kB / 0.7798 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001561/1.239, allocations: 1.428 MB / 0.7812 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0222/1.261, allocations: 12.11 MB / 0.7931 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06329/1.324, allocations: 69.89 MB / 0.8613 GB, free: 56.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/1.337, allocations: 6.113 MB / 0.8673 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003791/1.341, allocations: 3.367 MB / 0.8706 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01371/1.355, allocations: 8.325 MB / 0.8787 GB, free: 48.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/1.355, allocations: 62.72 kB / 0.8788 GB, free: 48.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=236): time 5.901e-06/1.355, allocations: 0 / 0.8788 GB, free: 48.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=278): time 0.05418/1.409, allocations: 24.33 MB / 0.9025 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/1.409, allocations: 239.4 kB / 0.9027 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008357/1.417, allocations: 5.905 MB / 0.9085 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007487/1.418, allocations: 69.33 kB / 0.9086 GB, free: 24.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002489/1.421, allocations: 4.576 MB / 0.9131 GB, free: 20.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/1.422, allocations: 1.062 MB / 0.9141 GB, free: 19.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004406/1.422, allocations: 172 kB / 0.9143 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003103/1.423, allocations: 0.6671 MB / 0.9149 GB, free: 18.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003816/1.426, allocations: 3.179 MB / 0.918 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006567/1.433, allocations: 8.257 MB / 0.9261 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007564/1.441, allocations: 5.068 MB / 0.931 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001559/1.441, allocations: 52 kB / 0.9311 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.02494/1.466, allocations: 12.72 MB / 0.9435 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/1.466, allocations: 84 kB / 0.9436 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002303/1.466, allocations: 180 kB / 0.9437 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00409/1.47, allocations: 1.701 MB / 0.9454 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006997/1.477, allocations: 1.985 MB / 0.9473 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/1.492, allocations: 11.32 MB / 0.9584 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008359/1.501, allocations: 0.4914 MB / 0.9589 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/1.503, allocations: 0.5078 MB / 0.9594 GB, free: 7.34 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 819 * Number of states: 0 () * Number of discrete variables: 67 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1026 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002034/1.505, allocations: 0.7697 MB / 0.9601 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/1.506, allocations: 0.5668 MB / 0.9607 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3244/1.83, allocations: 6.071 MB / 0.9666 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-05/1.831, allocations: 29.28 kB / 0.9666 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.863e-05/1.831, allocations: 14.09 kB / 0.9666 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.415e-05/1.831, allocations: 15.84 kB / 0.9667 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0314/1.862, allocations: 13.9 MB / 0.9802 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/1.862, allocations: 4.25 kB / 0.9802 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002653/1.865, allocations: 0.497 MB / 0.9807 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003589/1.868, allocations: 1.408 MB / 0.9821 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004904/1.869, allocations: 52.81 kB / 0.9822 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/1.881, allocations: 10.54 MB / 0.9924 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.881, allocations: 7.5 kB / 0.9925 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.896, allocations: 10.73 MB / 1.003 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/1.898, allocations: 0.6455 MB / 1.004 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001318/1.9, allocations: 46.64 kB / 1.004 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003201/1.903, allocations: 188 kB / 1.004 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006397/1.904, allocations: 174.3 kB / 1.004 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/1.904, allocations: 73.23 kB / 1.004 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006862/1.911, allocations: 4.217 MB / 1.008 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.21e-07/1.911, allocations: 0 / 1.008 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008304/1.919, allocations: 1.548 MB / 1.01 GB, free: 118.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 215 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007337/1.92, allocations: 195.4 kB / 1.01 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.931, allocations: 7.96 MB / 1.018 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.931, allocations: 3.188 kB / 1.018 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004527/1.935, allocations: 3.084 MB / 1.021 GB, free: 116 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004113/1.94, allocations: 0.698 MB / 1.021 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/1.962, allocations: 12.3 MB / 1.033 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005757/1.968, allocations: 4.757 MB / 1.038 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007004/1.975, allocations: 2.789 MB / 1.041 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.976, allocations: 389.8 kB / 1.041 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.143e-06/1.976, allocations: 0 / 1.041 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.09447/2.071, allocations: 60.32 MB / 1.1 GB, free: 77.58 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches