Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.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.Force2,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.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,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.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000952/0.0009519, allocations: 183 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.344/1.344, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0007625/0.0007625, allocations: 90.55 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.3845/0.3845, allocations: 43.47 MB / 358.6 MB, free: 52.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.81e-05/2.812e-05, allocations: 8 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4057/0.5249, allocations: 111.5 MB / 0.5817 GB, free: 9.473 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.5253, allocations: 81.73 kB / 0.5818 GB, free: 9.395 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8865/1.412, allocations: 238.3 MB / 0.8145 GB, free: 30.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.412, allocations: 0 / 0.8145 GB, free: 30.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007785/1.413, allocations: 252 kB / 0.8147 GB, free: 30.15 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: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.04422/1.457, allocations: 12.25 MB / 0.8267 GB, free: 17.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.457, allocations: 16.03 kB / 0.8267 GB, free: 17.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05077/1.508, allocations: 12.79 MB / 0.8392 GB, free: 4.953 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03944/1.547, allocations: 13.25 MB / 0.8521 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001456/1.549, allocations: 0.9388 MB / 0.853 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008072/1.557, allocations: 1.261 MB / 0.8543 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7798/2.337, allocations: 30.05 MB / 0.8836 GB, free: 45.75 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007643/2.337, allocations: 146.6 kB / 0.8837 GB, free: 45.75 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003853/2.341, allocations: 0.579 MB / 0.8843 GB, free: 45.75 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003964/2.345, allocations: 2.865 MB / 0.8871 GB, free: 45.71 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05879/2.404, allocations: 24.52 MB / 0.9111 GB, free: 45.59 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.157/2.561, allocations: 127.4 MB / 1.035 GB, free: 10.91 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03854/2.6, allocations: 14.97 MB / 1.05 GB, free: 15.64 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01177/2.612, allocations: 8.103 MB / 1.058 GB, free: 8.234 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4346/3.046, allocations: 20.25 MB / 1.078 GB, free: 112.5 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.564e-05/3.046, allocations: 102.5 kB / 1.078 GB, free: 112.4 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=566): time 7.755e-06/3.046, allocations: 0 / 1.078 GB, free: 112.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=650): time 0.1524/3.199, allocations: 60.87 MB / 1.137 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/3.199, allocations: 380.5 kB / 1.138 GB, free: 100.2 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02251/3.222, allocations: 10.54 MB / 1.148 GB, free: 99.37 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.002058/3.224, allocations: 126.5 kB / 1.148 GB, free: 99.34 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.006769/3.23, allocations: 8.44 MB / 1.156 GB, free: 95.26 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.00357/3.234, allocations: 2.388 MB / 1.159 GB, free: 93.86 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001539/3.236, allocations: 312.5 kB / 1.159 GB, free: 93.86 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0006798/3.236, allocations: 0.9547 MB / 1.16 GB, free: 93.52 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009146/3.245, allocations: 6.62 MB / 1.166 GB, free: 91.79 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01454/3.26, allocations: 14.9 MB / 1.181 GB, free: 78.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01723/3.277, allocations: 9.824 MB / 1.19 GB, free: 75.47 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003915/3.278, allocations: 79.31 kB / 1.191 GB, free: 75.47 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1998) (initialization): time 0.0472/3.325, allocations: 24.4 MB / 1.214 GB, free: 56.2 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001961/3.325, allocations: 128 kB / 1.215 GB, free: 56.07 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004263/3.326, allocations: 288 kB / 1.215 GB, free: 55.79 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007824/3.333, allocations: 3.272 MB / 1.218 GB, free: 53.36 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01429/3.348, allocations: 3.748 MB / 1.222 GB, free: 50.21 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/3.371, allocations: 22.47 MB / 1.244 GB, free: 29.98 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01871/3.39, allocations: 0.9288 MB / 1.244 GB, free: 29.22 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004462/3.394, allocations: 0.8715 MB / 1.245 GB, free: 28.39 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1320 * 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],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[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 (1880): * Single equations (assignments): 1873 * 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%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003619/3.398, allocations: 1.276 MB / 1.247 GB, free: 27.12 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002896/3.401, allocations: 1.068 MB / 1.248 GB, free: 26.04 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0253/3.426, allocations: 14.64 MB / 1.262 GB, free: 14.17 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.001e-05/3.426, allocations: 67.42 kB / 1.262 GB, free: 14.11 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.582e-05/3.426, allocations: 20 kB / 1.262 GB, free: 14.09 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001325/3.427, allocations: 33.84 kB / 1.262 GB, free: 14.09 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.454/3.881, allocations: 32.55 MB / 1.294 GB, free: 93.75 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-05/3.881, allocations: 9.281 kB / 1.294 GB, free: 93.75 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005829/3.886, allocations: 1.302 MB / 1.295 GB, free: 93.75 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006467/3.893, allocations: 2.817 MB / 1.298 GB, free: 93.71 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008022/3.894, allocations: 126.4 kB / 1.298 GB, free: 93.71 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02632/3.92, allocations: 21 MB / 1.319 GB, free: 88.36 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.701e-05/3.92, allocations: 19.31 kB / 1.319 GB, free: 88.36 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03714/3.957, allocations: 26.14 MB / 1.344 GB, free: 82.38 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008778/3.966, allocations: 2.187 MB / 1.346 GB, free: 81.83 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005158/3.971, allocations: 119.6 kB / 1.346 GB, free: 81.75 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008978/3.98, allocations: 453.4 kB / 1.347 GB, free: 81.68 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002595/3.983, allocations: 418.3 kB / 1.347 GB, free: 81.61 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001665/3.985, allocations: 169.8 kB / 1.347 GB, free: 81.57 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0203/4.005, allocations: 7.604 MB / 1.355 GB, free: 79 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.22e-07/4.005, allocations: 3.312 kB / 1.355 GB, free: 79 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0198/4.025, allocations: 3.086 MB / 1.358 GB, free: 78.66 MB / 0.5574 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (559): * Single equations (assignments): 552 * 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%) 17,(4,75.0%) 17,(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.003442/4.028, allocations: 304.1 kB / 1.358 GB, free: 78.48 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02829/4.057, allocations: 16.53 MB / 1.374 GB, free: 73.11 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/4.057, allocations: 3.312 kB / 1.374 GB, free: 73.11 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01165/4.068, allocations: 7.081 MB / 1.381 GB, free: 70.43 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/4.079, allocations: 1.332 MB / 1.382 GB, free: 69.87 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05577/4.135, allocations: 25.57 MB / 1.407 GB, free: 51.2 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01902/4.154, allocations: 8.789 MB / 1.416 GB, free: 44.91 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01687/4.171, allocations: 5.139 MB / 1.421 GB, free: 41.55 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004911/4.176, allocations: 0.7255 MB / 1.422 GB, free: 40.87 MB / 0.5574 GB Notification: Performance of SimCode: time 1.713e-06/4.176, allocations: 0 / 1.422 GB, free: 40.87 MB / 0.5574 GB Notification: Performance of Templates: time 0.5732/4.749, allocations: 115.1 MB / 1.534 GB, free: 97.52 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches