Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.387/1.387, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008946/0.0008945, allocations: 87.72 kB / 267.1 MB, free: 9.277 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.3457/0.3457, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.343e-05/2.345e-05, allocations: 0 / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 58.86 MB / 484.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3749/0.4922, allocations: 110 MB / 0.5802 GB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4925, allocations: 78.77 kB / 0.5803 GB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7561/1.249, allocations: 224.8 MB / 0.7998 GB, free: 71.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.285e-06/1.249, allocations: 0 / 0.7998 GB, free: 71.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005917/1.249, allocations: 238.5 kB / 0.8001 GB, free: 71.94 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: 4187 * Number of variables: 4187 Notification: Performance of Generate backend data structure: time 0.03196/1.281, allocations: 11.4 MB / 0.8112 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.281, allocations: 7.625 kB / 0.8112 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04762/1.329, allocations: 12.64 MB / 0.8236 GB, free: 58.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02687/1.356, allocations: 12.56 MB / 0.8358 GB, free: 46.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006654/1.356, allocations: 0.9026 MB / 0.8367 GB, free: 45.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00548/1.362, allocations: 1.206 MB / 0.8379 GB, free: 44.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06283/1.425, allocations: 28.17 MB / 0.8654 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007598/1.426, allocations: 138.8 kB / 0.8655 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005336/1.431, allocations: 0.5505 MB / 0.8661 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003387/1.434, allocations: 2.68 MB / 0.8687 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04912/1.484, allocations: 23.22 MB / 0.8913 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4695/1.953, allocations: 117 MB / 1.006 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03122/1.984, allocations: 13.61 MB / 1.019 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009431/1.994, allocations: 7.877 MB / 1.027 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002519/1.996, allocations: 2.342 MB / 1.029 GB, free: 47.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/1.997, allocations: 99.14 kB / 1.029 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=559): time 1.047e-05/1.997, allocations: 2.344 kB / 1.029 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=643): time 0.1357/2.132, allocations: 53.36 MB / 1.081 GB, free: 26.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/2.132, allocations: 325.1 kB / 1.081 GB, free: 25.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01609/2.148, allocations: 8.999 MB / 1.09 GB, free: 17.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001585/2.15, allocations: 129.7 kB / 1.09 GB, free: 17.57 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006412/2.157, allocations: 7.747 MB / 1.098 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004288/2.161, allocations: 2.344 MB / 1.1 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002187/2.163, allocations: 284 kB / 1.1 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001285/2.164, allocations: 0.9163 MB / 1.101 GB, free: 7.516 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01275/2.177, allocations: 6.388 MB / 1.108 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3358/2.513, allocations: 15.27 MB / 1.122 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01856/2.532, allocations: 9.366 MB / 1.132 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006493/2.532, allocations: 75.47 kB / 1.132 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1864) (initialization): time 0.04805/2.58, allocations: 23.25 MB / 1.154 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003066/2.581, allocations: 116.8 kB / 1.154 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005379/2.581, allocations: 265.9 kB / 1.155 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008591/2.59, allocations: 3.259 MB / 1.158 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01517/2.605, allocations: 3.501 MB / 1.161 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02689/2.632, allocations: 22.56 MB / 1.183 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01347/2.646, allocations: 0.8687 MB / 1.184 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003617/2.649, allocations: 0.8136 MB / 1.185 GB, free: 106.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1204 * Number of states: 0 () * Number of discrete variables: 108 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1744): * Single equations (assignments): 1737 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006857/2.656, allocations: 1.185 MB / 1.186 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002892/2.659, allocations: 0.9454 MB / 1.187 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02948/2.689, allocations: 14.44 MB / 1.201 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00011/2.689, allocations: 65.84 kB / 1.201 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.624e-05/2.689, allocations: 19.06 kB / 1.201 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001827/2.689, allocations: 31.61 kB / 1.201 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06334/2.752, allocations: 31.12 MB / 1.232 GB, free: 89.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-05/2.752, allocations: 7.922 kB / 1.232 GB, free: 89.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006878/2.759, allocations: 1.219 MB / 1.233 GB, free: 89.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006852/2.766, allocations: 2.828 MB / 1.236 GB, free: 88.08 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001606/2.768, allocations: 119.8 kB / 1.236 GB, free: 87.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02231/2.79, allocations: 21.08 MB / 1.256 GB, free: 69.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/2.79, allocations: 6.672 kB / 1.256 GB, free: 69.26 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03323/2.823, allocations: 23.77 MB / 1.28 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006588/2.83, allocations: 2.043 MB / 1.282 GB, free: 46.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003555/2.834, allocations: 108 kB / 1.282 GB, free: 46.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007293/2.841, allocations: 491.6 kB / 1.282 GB, free: 45.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001897/2.843, allocations: 397.2 kB / 1.283 GB, free: 45.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008735/2.844, allocations: 163.1 kB / 1.283 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01246/2.856, allocations: 6.428 MB / 1.289 GB, free: 39.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.503e-06/2.856, allocations: 0 / 1.289 GB, free: 39.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01594/2.872, allocations: 2.943 MB / 1.292 GB, free: 36.96 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (554): * Single equations (assignments): 547 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(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.001774/2.874, allocations: 294.8 kB / 1.292 GB, free: 36.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02408/2.898, allocations: 16.04 MB / 1.308 GB, free: 22.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/2.898, allocations: 0 / 1.308 GB, free: 22.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01131/2.91, allocations: 7.051 MB / 1.315 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007894/2.918, allocations: 1.198 MB / 1.316 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3447/3.262, allocations: 24.18 MB / 1.339 GB, free: 106 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01872/3.281, allocations: 8.315 MB / 1.348 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01658/3.298, allocations: 4.728 MB / 1.352 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00458/3.302, allocations: 0.6669 MB / 1.353 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.292e-06/3.302, allocations: 0.9375 kB / 1.353 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.1847/3.487, allocations: 110.5 MB / 1.461 GB, free: 54.4 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque3/Torque3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches