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.00133/0.00133, allocations: 181.8 kB / 15.76 MB, free: 6.363 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.4 MB / 221.9 MB, free: 13.83 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.0009656/0.0009656, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2073/0.2073, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003802, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1118, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.395/0.5068, allocations: 111.6 MB / 0.5877 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.5071, allocations: 83.7 kB / 0.5878 GB, free: 4.492 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8125/1.32, allocations: 238 MB / 0.8202 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.717e-06/1.32, allocations: 0 / 0.8202 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009899/1.321, allocations: 251.9 kB / 0.8205 GB, free: 75.57 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: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.05038/1.371, allocations: 13.25 MB / 0.8334 GB, free: 62.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.371, allocations: 8.031 kB / 0.8334 GB, free: 62.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05036/1.422, allocations: 12.79 MB / 0.8459 GB, free: 49.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03631/1.458, allocations: 13.31 MB / 0.8589 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001163/1.459, allocations: 0.9388 MB / 0.8598 GB, free: 35.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007473/1.467, allocations: 1.253 MB / 0.861 GB, free: 33.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07937/1.546, allocations: 30.29 MB / 0.8906 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000993/1.547, allocations: 154.5 kB / 0.8908 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006487/1.554, allocations: 0.5856 MB / 0.8913 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005075/1.559, allocations: 2.86 MB / 0.8941 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4536/2.012, allocations: 24.88 MB / 0.9184 GB, free: 79.08 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1802/2.193, allocations: 127.4 MB / 1.043 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03813/2.231, allocations: 15.04 MB / 1.058 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04484/2.276, allocations: 20.22 MB / 1.077 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/2.276, allocations: 100.9 kB / 1.077 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=566): time 1.017e-05/2.276, allocations: 0 / 1.077 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of matching and sorting (n=650): time 0.5969/2.873, allocations: 70.1 MB / 1.146 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002171/2.873, allocations: 382.4 kB / 1.146 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02887/2.902, allocations: 10.66 MB / 1.157 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002148/2.904, allocations: 127.6 kB / 1.157 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008844/2.913, allocations: 8.425 MB / 1.165 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00464/2.918, allocations: 2.388 MB / 1.167 GB, free: 114 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002549/2.92, allocations: 313.6 kB / 1.168 GB, free: 114 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001003/2.921, allocations: 0.9545 MB / 1.169 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01167/2.933, allocations: 6.758 MB / 1.175 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02016/2.953, allocations: 15.05 MB / 1.19 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01755/2.971, allocations: 9.878 MB / 1.199 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004772/2.971, allocations: 84.28 kB / 1.2 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1998) (initialization): time 0.05461/3.026, allocations: 24.68 MB / 1.224 GB, free: 92.39 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002755/3.026, allocations: 134.8 kB / 1.224 GB, free: 92.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006212/3.027, allocations: 288 kB / 1.224 GB, free: 92.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008144/3.035, allocations: 3.283 MB / 1.227 GB, free: 91.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01579/3.051, allocations: 3.748 MB / 1.231 GB, free: 91.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02535/3.076, allocations: 23.12 MB / 1.253 GB, free: 75.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01906/3.095, allocations: 0.9359 MB / 1.254 GB, free: 74.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005951/3.101, allocations: 0.8764 MB / 1.255 GB, free: 73.53 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.02244/3.124, allocations: 5.678 MB / 1.261 GB, free: 68.54 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005795/3.13, allocations: 1.064 MB / 1.262 GB, free: 67.46 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04049/3.17, allocations: 14.8 MB / 1.276 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001324/3.17, allocations: 68 kB / 1.276 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001357/3.171, allocations: 20 kB / 1.276 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002073/3.171, allocations: 30.89 kB / 1.276 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07686/3.248, allocations: 32.56 MB / 1.308 GB, free: 29.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.483e-05/3.248, allocations: 12 kB / 1.308 GB, free: 29.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007507/3.255, allocations: 1.309 MB / 1.309 GB, free: 28.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007497/3.263, allocations: 2.819 MB / 1.312 GB, free: 26.17 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002185/3.265, allocations: 134.9 kB / 1.312 GB, free: 26.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4022/3.667, allocations: 21.69 MB / 1.334 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.662e-05/3.667, allocations: 17.44 kB / 1.334 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04282/3.71, allocations: 26.38 MB / 1.359 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01004/3.72, allocations: 2.188 MB / 1.361 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005589/3.726, allocations: 118.4 kB / 1.362 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009842/3.736, allocations: 450.6 kB / 1.362 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002563/3.738, allocations: 415.8 kB / 1.362 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009845/3.739, allocations: 174.5 kB / 1.363 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01777/3.757, allocations: 7.721 MB / 1.37 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.814e-06/3.757, allocations: 0 / 1.37 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02312/3.78, allocations: 3.086 MB / 1.373 GB, free: 106.1 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.002359/3.783, allocations: 313.5 kB / 1.373 GB, free: 106 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02841/3.811, allocations: 16.77 MB / 1.39 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.669e-05/3.811, allocations: 2.438 kB / 1.39 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0119/3.823, allocations: 7.193 MB / 1.397 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01295/3.836, allocations: 1.339 MB / 1.398 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06308/3.899, allocations: 34.89 MB / 1.432 GB, free: 82.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01565/3.915, allocations: 8.787 MB / 1.441 GB, free: 75.82 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01552/3.93, allocations: 5.14 MB / 1.446 GB, free: 72.46 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003678/3.934, allocations: 0.7251 MB / 1.447 GB, free: 71.78 MB / 0.5573 GB Notification: Performance of SimCode: time 2.014e-06/3.934, allocations: 0 / 1.447 GB, free: 71.78 MB / 0.5573 GB Notification: Performance of Templates: time 0.575/4.509, allocations: 115.1 MB / 1.559 GB, free: 106.4 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