Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00136/0.00136, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.433/1.433, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007349/0.000735, allocations: 93.42 kB / 271.9 MB, free: 8.258 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.3104/0.3104, allocations: 43.55 MB / 363.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005451/0.0005451, allocations: 12 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1528, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3356/0.4885, allocations: 111.8 MB / 0.5891 GB, free: 6.602 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4888, allocations: 79.91 kB / 0.5892 GB, free: 6.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7368/1.226, allocations: 234.4 MB / 0.8181 GB, free: 31.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.015e-06/1.226, allocations: 0 / 0.8181 GB, free: 31.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007395/1.226, allocations: 252 kB / 0.8183 GB, free: 30.95 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.0366/1.263, allocations: 12.6 MB / 0.8306 GB, free: 18.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/1.263, allocations: 16.03 kB / 0.8306 GB, free: 18.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0382/1.301, allocations: 9.499 MB / 0.8399 GB, free: 8.688 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02601/1.327, allocations: 12.01 MB / 0.8516 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001206/1.329, allocations: 0.947 MB / 0.8526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006718/1.335, allocations: 1.258 MB / 0.8538 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5979/1.933, allocations: 29.93 MB / 0.883 GB, free: 46.18 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008655/1.934, allocations: 150.5 kB / 0.8832 GB, free: 46.18 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005463/1.94, allocations: 0.5826 MB / 0.8837 GB, free: 46.18 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004582/1.944, allocations: 2.856 MB / 0.8865 GB, free: 46.15 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05438/1.999, allocations: 24.44 MB / 0.9104 GB, free: 46.02 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1647/2.163, allocations: 127.2 MB / 1.035 GB, free: 12.97 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05602/2.219, allocations: 14.79 MB / 1.049 GB, free: 6.254 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01703/2.236, allocations: 8.542 MB / 1.057 GB, free: 15.87 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04207/2.279, allocations: 20.29 MB / 1.077 GB, free: 0 / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3231/2.602, allocations: 106.4 kB / 1.077 GB, free: 117.8 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=566): time 1.084e-05/2.602, allocations: 0 / 1.077 GB, free: 117.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=650): time 0.172/2.774, allocations: 68.38 MB / 1.144 GB, free: 105.2 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/2.774, allocations: 379.6 kB / 1.144 GB, free: 104.9 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02226/2.796, allocations: 11.94 MB / 1.156 GB, free: 104 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001765/2.798, allocations: 122.9 kB / 1.156 GB, free: 104 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.006545/2.805, allocations: 8.44 MB / 1.164 GB, free: 99.96 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003529/2.808, allocations: 2.385 MB / 1.167 GB, free: 98.22 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001813/2.81, allocations: 310 kB / 1.167 GB, free: 97.98 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.000807/2.811, allocations: 0.9616 MB / 1.168 GB, free: 97.39 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01092/2.822, allocations: 6.754 MB / 1.175 GB, free: 95.09 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01862/2.84, allocations: 15.11 MB / 1.189 GB, free: 81.79 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02737/2.868, allocations: 23.68 MB / 1.212 GB, free: 62.01 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003564/2.868, allocations: 84 kB / 1.213 GB, free: 61.93 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1998) (initialization): time 0.0503/2.919, allocations: 24.68 MB / 1.237 GB, free: 40.65 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002371/2.919, allocations: 128 kB / 1.237 GB, free: 40.52 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000517/2.919, allocations: 292 kB / 1.237 GB, free: 40.24 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007944/2.927, allocations: 3.249 MB / 1.24 GB, free: 37.86 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01425/2.942, allocations: 3.74 MB / 1.244 GB, free: 34.71 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0244/2.966, allocations: 22.53 MB / 1.266 GB, free: 14.51 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0168/2.983, allocations: 0.9352 MB / 1.267 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004555/2.988, allocations: 0.8762 MB / 1.268 GB, free: 12.91 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 () * 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.02126/3.009, allocations: 5.672 MB / 1.273 GB, free: 7.918 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003533/3.012, allocations: 1.068 MB / 1.274 GB, free: 6.836 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.343/3.355, allocations: 14.91 MB / 1.289 GB, free: 98.27 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.16e-05/3.356, allocations: 64.09 kB / 1.289 GB, free: 98.27 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/3.356, allocations: 22.97 kB / 1.289 GB, free: 98.27 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001654/3.356, allocations: 28.5 kB / 1.289 GB, free: 98.27 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07456/3.43, allocations: 32.59 MB / 1.321 GB, free: 96.76 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.26e-05/3.43, allocations: 11.44 kB / 1.321 GB, free: 96.76 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00712/3.438, allocations: 1.309 MB / 1.322 GB, free: 96.76 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007541/3.445, allocations: 2.816 MB / 1.325 GB, free: 96.72 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001719/3.447, allocations: 125.4 kB / 1.325 GB, free: 96.72 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02623/3.473, allocations: 21.07 MB / 1.345 GB, free: 90.96 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/3.473, allocations: 17.44 kB / 1.345 GB, free: 90.96 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03589/3.509, allocations: 22.86 MB / 1.368 GB, free: 82.06 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006996/3.516, allocations: 2.184 MB / 1.37 GB, free: 81.51 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003737/3.52, allocations: 119.8 kB / 1.37 GB, free: 81.43 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007303/3.527, allocations: 454.8 kB / 1.37 GB, free: 81.36 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001769/3.529, allocations: 424.6 kB / 1.371 GB, free: 81.29 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005004/3.53, allocations: 170.5 kB / 1.371 GB, free: 81.25 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01853/3.548, allocations: 7.715 MB / 1.379 GB, free: 78.73 MB / 0.5574 GB Notification: Performance of sort global known variables: time 9.92e-07/3.548, allocations: 0 / 1.379 GB, free: 78.73 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02064/3.569, allocations: 3.092 MB / 1.382 GB, free: 78.39 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 () * 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.002187/3.571, allocations: 304.6 kB / 1.382 GB, free: 78.23 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.03031/3.601, allocations: 16.77 MB / 1.398 GB, free: 72.21 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.203e-05/3.602, allocations: 0 / 1.398 GB, free: 72.21 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01297/3.615, allocations: 7.195 MB / 1.405 GB, free: 66.06 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03157/3.646, allocations: 1.428 MB / 1.407 GB, free: 64.86 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05901/3.705, allocations: 36.38 MB / 1.442 GB, free: 32.21 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01427/3.72, allocations: 8.53 MB / 1.451 GB, free: 25.92 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00401/3.724, allocations: 0.8341 MB / 1.451 GB, free: 25.12 MB / 0.5574 GB Notification: Performance of SimCode: time 9.51e-07/3.724, allocations: 1.75 kB / 1.451 GB, free: 25.12 MB / 0.5574 GB Notification: Performance of Templates: time 1.158/4.882, allocations: 388.4 MB / 1.831 GB, free: 115.5 MB / 0.6199 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches