Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.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.Torque2,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.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,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.Torque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002194/0.002194, allocations: 171.5 kB / 16.76 MB, free: 5.043 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.404/1.404, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0008292/0.0008292, allocations: 93.02 kB / 271.3 MB, free: 8.238 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.3474/0.3474, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003775, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1548, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4083/0.5632, allocations: 111.7 MB / 0.5891 GB, free: 6.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.5635, allocations: 79.95 kB / 0.5891 GB, free: 6.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7881/1.352, allocations: 237.5 MB / 0.8211 GB, free: 27.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.216e-06/1.352, allocations: 0 / 0.8211 GB, free: 27.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001164/1.353, allocations: 256 kB / 0.8213 GB, free: 27.52 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: 4457 * Number of variables: 4457 Notification: Performance of Generate backend data structure: time 0.04667/1.4, allocations: 12.7 MB / 0.8337 GB, free: 14.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.4, allocations: 8.031 kB / 0.8337 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04003/1.44, allocations: 9.533 MB / 0.843 GB, free: 5.125 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03161/1.471, allocations: 12.06 MB / 0.8548 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001386/1.473, allocations: 0.9552 MB / 0.8557 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007423/1.48, allocations: 1.281 MB / 0.857 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5845/2.065, allocations: 29.85 MB / 0.8861 GB, free: 44.13 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008294/2.066, allocations: 157.6 kB / 0.8863 GB, free: 44.13 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005103/2.071, allocations: 0.5951 MB / 0.8869 GB, free: 44.13 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004235/2.075, allocations: 2.863 MB / 0.8897 GB, free: 44.1 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05439/2.129, allocations: 24.26 MB / 0.9134 GB, free: 43.96 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1563/2.286, allocations: 127.6 MB / 1.038 GB, free: 9.34 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03386/2.32, allocations: 13.82 MB / 1.052 GB, free: 2.156 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01777/2.337, allocations: 8.472 MB / 1.06 GB, free: 12.06 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3317/2.669, allocations: 19.69 MB / 1.079 GB, free: 112.4 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.533e-05/2.669, allocations: 97.41 kB / 1.079 GB, free: 112.4 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=562): time 7.093e-06/2.669, allocations: 1 kB / 1.079 GB, free: 112.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=646): time 0.1651/2.835, allocations: 66.58 MB / 1.144 GB, free: 99.62 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/2.835, allocations: 381 kB / 1.144 GB, free: 99.24 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02981/2.865, allocations: 12.04 MB / 1.156 GB, free: 98.41 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001596/2.866, allocations: 127 kB / 1.156 GB, free: 98.38 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.007479/2.874, allocations: 8.569 MB / 1.165 GB, free: 94.25 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.004429/2.878, allocations: 2.372 MB / 1.167 GB, free: 92.49 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003614/2.882, allocations: 312.2 kB / 1.167 GB, free: 92.25 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.002106/2.884, allocations: 0.9693 MB / 1.168 GB, free: 91.66 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01244/2.896, allocations: 6.765 MB / 1.175 GB, free: 89.36 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01759/2.914, allocations: 15.29 MB / 1.19 GB, free: 75.84 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02715/2.941, allocations: 23.87 MB / 1.213 GB, free: 56.21 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004229/2.942, allocations: 84 kB / 1.213 GB, free: 56.12 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2020) (initialization): time 0.04982/2.991, allocations: 24.87 MB / 1.238 GB, free: 34.68 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005787/2.992, allocations: 132 kB / 1.238 GB, free: 34.55 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007818/2.993, allocations: 296 kB / 1.238 GB, free: 34.27 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008937/3.002, allocations: 3.265 MB / 1.241 GB, free: 31.87 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01436/3.016, allocations: 3.772 MB / 1.245 GB, free: 28.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02457/3.041, allocations: 22.65 MB / 1.267 GB, free: 8.398 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01562/3.057, allocations: 0.9409 MB / 1.268 GB, free: 7.625 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003764/3.06, allocations: 0.8847 MB / 1.269 GB, free: 6.773 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1346 * Number of states: 0 () * Number of discrete variables: 120 (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],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1900): * Single equations (assignments): 1893 * 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.01493/3.075, allocations: 5.745 MB / 1.274 GB, free: 1.723 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002798/3.078, allocations: 1.079 MB / 1.275 GB, free: 0.6367 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4138/3.492, allocations: 14.86 MB / 1.29 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.599e-05/3.492, allocations: 67.44 kB / 1.29 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.891e-05/3.492, allocations: 17.5 kB / 1.29 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001395/3.492, allocations: 31.83 kB / 1.29 GB, free: 112.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07376/3.566, allocations: 32.56 MB / 1.322 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.59e-05/3.566, allocations: 11.34 kB / 1.322 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007056/3.573, allocations: 1.279 MB / 1.323 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007204/3.581, allocations: 2.839 MB / 1.326 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001522/3.582, allocations: 125.9 kB / 1.326 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02395/3.606, allocations: 21.14 MB / 1.347 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/3.606, allocations: 16.44 kB / 1.347 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03371/3.64, allocations: 22.77 MB / 1.369 GB, free: 95.34 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006523/3.646, allocations: 2.188 MB / 1.371 GB, free: 94.79 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004126/3.651, allocations: 119 kB / 1.371 GB, free: 94.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008023/3.659, allocations: 448.9 kB / 1.372 GB, free: 94.63 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002376/3.661, allocations: 416.9 kB / 1.372 GB, free: 94.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000707/3.662, allocations: 170.7 kB / 1.372 GB, free: 94.52 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01607/3.678, allocations: 7.777 MB / 1.38 GB, free: 91.99 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.61e-07/3.678, allocations: 3.781 kB / 1.38 GB, free: 91.99 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01802/3.696, allocations: 3.11 MB / 1.383 GB, free: 91.65 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (553): * Single equations (assignments): 546 * 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.001784/3.698, allocations: 306.7 kB / 1.383 GB, free: 91.48 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02565/3.723, allocations: 16.84 MB / 1.399 GB, free: 83.37 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/3.723, allocations: 1.969 kB / 1.399 GB, free: 83.37 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01061/3.734, allocations: 7.13 MB / 1.406 GB, free: 77.26 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03305/3.767, allocations: 1.425 MB / 1.408 GB, free: 76.06 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06599/3.833, allocations: 35.27 MB / 1.442 GB, free: 44.31 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02137/3.855, allocations: 8.629 MB / 1.451 GB, free: 37.95 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01798/3.873, allocations: 5.159 MB / 1.456 GB, free: 34.58 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004747/3.877, allocations: 0.7339 MB / 1.456 GB, free: 33.89 MB / 0.573 GB Notification: Performance of SimCode: time 9.82e-07/3.877, allocations: 1.75 kB / 1.456 GB, free: 33.89 MB / 0.573 GB Notification: Performance of Templates: time 0.4794/4.357, allocations: 115.9 MB / 1.57 GB, free: 85.52 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque2/Torque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches