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.001217/0.001216, allocations: 178.2 kB / 16.77 MB, free: 4.805 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.347/1.347, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0008829/0.0008829, allocations: 86.36 kB / 271.3 MB, free: 8.242 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.3406/0.3406, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005013, allocations: 12 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1533, allocations: 58.85 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.5419, allocations: 111.8 MB / 0.5891 GB, free: 6.148 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.5421, allocations: 79.95 kB / 0.5892 GB, free: 6.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8093/1.351, allocations: 234.4 MB / 0.8181 GB, free: 30.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.596e-06/1.351, allocations: 4 kB / 0.8181 GB, free: 30.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001049/1.353, allocations: 255.9 kB / 0.8183 GB, free: 30.57 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.0466/1.399, allocations: 12.6 MB / 0.8306 GB, free: 17.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.399, allocations: 11.97 kB / 0.8307 GB, free: 17.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0407/1.44, allocations: 9.51 MB / 0.8399 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02966/1.47, allocations: 12 MB / 0.8517 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001307/1.471, allocations: 0.9392 MB / 0.8526 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00743/1.478, allocations: 1.258 MB / 0.8538 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4289/1.907, allocations: 29.94 MB / 0.883 GB, free: 48.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008779/1.908, allocations: 144.7 kB / 0.8832 GB, free: 48.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00554/1.914, allocations: 0.5816 MB / 0.8837 GB, free: 48.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005201/1.919, allocations: 2.866 MB / 0.8865 GB, free: 48.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05622/1.975, allocations: 24.44 MB / 0.9104 GB, free: 48.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1549/2.13, allocations: 127.2 MB / 1.035 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03632/2.167, allocations: 14.79 MB / 1.049 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01211/2.179, allocations: 8.2 MB / 1.057 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03948/2.218, allocations: 20.06 MB / 1.077 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/2.218, allocations: 103.9 kB / 1.077 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=566): time 1.218e-05/2.218, allocations: 0 / 1.077 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of matching and sorting (n=650): time 0.4523/2.671, allocations: 68.88 MB / 1.144 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/2.671, allocations: 378.7 kB / 1.144 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02357/2.695, allocations: 11.94 MB / 1.156 GB, free: 106 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001832/2.696, allocations: 126.8 kB / 1.156 GB, free: 106 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007472/2.704, allocations: 8.44 MB / 1.164 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004123/2.708, allocations: 2.38 MB / 1.167 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002793/2.711, allocations: 314 kB / 1.167 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001073/2.712, allocations: 0.9575 MB / 1.168 GB, free: 99.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01145/2.723, allocations: 6.758 MB / 1.175 GB, free: 97.64 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01813/2.742, allocations: 15.11 MB / 1.189 GB, free: 84.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02896/2.771, allocations: 23.68 MB / 1.212 GB, free: 66.62 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005853/2.771, allocations: 84 kB / 1.213 GB, free: 66.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1998) (initialization): time 0.05232/2.824, allocations: 24.68 MB / 1.237 GB, free: 45.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005693/2.824, allocations: 128 kB / 1.237 GB, free: 45.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007084/2.825, allocations: 292 kB / 1.237 GB, free: 44.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00816/2.833, allocations: 3.252 MB / 1.24 GB, free: 42.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01375/2.847, allocations: 3.745 MB / 1.244 GB, free: 39.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02495/2.872, allocations: 22.53 MB / 1.266 GB, free: 19.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01556/2.888, allocations: 0.9321 MB / 1.267 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003872/2.891, allocations: 0.8698 MB / 1.268 GB, free: 17.51 MB / 0.5573 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 () * Number of clocked 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.01667/2.908, allocations: 5.678 MB / 1.273 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003772/2.912, allocations: 1.068 MB / 1.274 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3482/3.26, allocations: 14.8 MB / 1.289 GB, free: 99.89 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001198/3.26, allocations: 72.05 kB / 1.289 GB, free: 99.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001168/3.26, allocations: 17.94 kB / 1.289 GB, free: 99.89 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001885/3.261, allocations: 33.36 kB / 1.289 GB, free: 99.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06942/3.33, allocations: 32.58 MB / 1.321 GB, free: 98.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.481e-05/3.33, allocations: 14.58 kB / 1.321 GB, free: 98.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006968/3.337, allocations: 1.306 MB / 1.322 GB, free: 98.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007416/3.345, allocations: 2.82 MB / 1.325 GB, free: 98.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001622/3.346, allocations: 123.2 kB / 1.325 GB, free: 98.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02669/3.373, allocations: 21.06 MB / 1.345 GB, free: 93.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/3.373, allocations: 26.16 kB / 1.345 GB, free: 93.01 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03754/3.411, allocations: 22.86 MB / 1.368 GB, free: 84.15 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00675/3.417, allocations: 2.189 MB / 1.37 GB, free: 83.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003796/3.421, allocations: 117.6 kB / 1.37 GB, free: 83.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007467/3.429, allocations: 461.1 kB / 1.37 GB, free: 83.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001968/3.431, allocations: 421.1 kB / 1.371 GB, free: 83.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001201/3.432, allocations: 168 kB / 1.371 GB, free: 83.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01584/3.448, allocations: 7.724 MB / 1.378 GB, free: 80.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.82e-07/3.448, allocations: 0 / 1.378 GB, free: 80.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01968/3.467, allocations: 3.085 MB / 1.381 GB, free: 80.48 MB / 0.5573 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 (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.001781/3.469, allocations: 311.2 kB / 1.382 GB, free: 80.31 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0263/3.496, allocations: 16.77 MB / 1.398 GB, free: 74.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/3.496, allocations: 3.094 kB / 1.398 GB, free: 74.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01217/3.508, allocations: 7.19 MB / 1.405 GB, free: 69.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03083/3.539, allocations: 1.424 MB / 1.407 GB, free: 68.42 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05919/3.598, allocations: 34.99 MB / 1.441 GB, free: 36.95 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02166/3.62, allocations: 8.524 MB / 1.449 GB, free: 30.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01914/3.639, allocations: 5.14 MB / 1.454 GB, free: 27.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005046/3.644, allocations: 0.7236 MB / 1.455 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of SimCode: time 1.112e-06/3.644, allocations: 0 / 1.455 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of Templates: time 0.4977/4.142, allocations: 115.6 MB / 1.568 GB, free: 85.74 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/jenkins1/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