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.001535/0.001534, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.936/1.936, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001142/0.001141, allocations: 94.91 kB / 270.9 MB, free: 8.363 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.5093/0.5093, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004601, allocations: 19.94 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4998/0.625, allocations: 111.6 MB / 0.5877 GB, free: 6.891 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.6254, allocations: 79.95 kB / 0.5878 GB, free: 6.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.238/1.863, allocations: 238 MB / 0.8202 GB, free: 28.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.825e-06/1.863, allocations: 0 / 0.8202 GB, free: 28.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00088/1.864, allocations: 248 kB / 0.8205 GB, free: 27.89 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.05547/1.92, allocations: 13.25 MB / 0.8334 GB, free: 14.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.92, allocations: 16.02 kB / 0.8334 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09199/2.012, allocations: 12.79 MB / 0.8459 GB, free: 1.672 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04999/2.062, allocations: 13.29 MB / 0.8589 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001559/2.063, allocations: 0.9466 MB / 0.8598 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00737/2.071, allocations: 1.249 MB / 0.861 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8637/2.934, allocations: 30.29 MB / 0.8906 GB, free: 44.43 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001254/2.936, allocations: 148.3 kB / 0.8908 GB, free: 44.43 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006685/2.942, allocations: 0.5821 MB / 0.8913 GB, free: 44.43 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006876/2.949, allocations: 2.86 MB / 0.8941 GB, free: 44.4 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08711/3.036, allocations: 24.9 MB / 0.9184 GB, free: 44.27 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2255/3.262, allocations: 127.4 MB / 1.043 GB, free: 8.598 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08607/3.348, allocations: 15.83 MB / 1.058 GB, free: 14.92 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06768/3.416, allocations: 20.82 MB / 1.079 GB, free: 0 / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4121/3.828, allocations: 101.1 kB / 1.079 GB, free: 114.4 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=566): time 1.209e-05/3.828, allocations: 1.859 kB / 1.079 GB, free: 114.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=650): time 0.3095/4.138, allocations: 69.67 MB / 1.147 GB, free: 101.4 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/4.138, allocations: 381.1 kB / 1.147 GB, free: 101 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03073/4.169, allocations: 10.66 MB / 1.158 GB, free: 100.3 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001954/4.171, allocations: 124.9 kB / 1.158 GB, free: 100.2 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.007813/4.178, allocations: 7.897 MB / 1.165 GB, free: 96.13 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.004396/4.183, allocations: 2.383 MB / 1.168 GB, free: 94.73 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003503/4.186, allocations: 313.1 kB / 1.168 GB, free: 94.68 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.002125/4.189, allocations: 0.9595 MB / 1.169 GB, free: 94.09 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01919/4.208, allocations: 6.757 MB / 1.176 GB, free: 91.79 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02462/4.233, allocations: 15.05 MB / 1.19 GB, free: 78.49 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02443/4.257, allocations: 9.885 MB / 1.2 GB, free: 74.98 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003946/4.257, allocations: 83.22 kB / 1.2 GB, free: 74.98 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1998) (initialization): time 0.07007/4.328, allocations: 24.2 MB / 1.224 GB, free: 57.34 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002187/4.328, allocations: 134.4 kB / 1.224 GB, free: 57.21 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005169/4.328, allocations: 292 kB / 1.224 GB, free: 56.93 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01401/4.342, allocations: 3.28 MB / 1.227 GB, free: 54.52 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02556/4.368, allocations: 3.747 MB / 1.231 GB, free: 51.37 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04359/4.412, allocations: 23.13 MB / 1.253 GB, free: 30.64 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02005/4.432, allocations: 0.9315 MB / 1.254 GB, free: 29.88 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004276/4.436, allocations: 0.8762 MB / 1.255 GB, free: 29.04 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.01823/4.454, allocations: 5.674 MB / 1.261 GB, free: 24.05 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004631/4.459, allocations: 1.067 MB / 1.262 GB, free: 22.97 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04687/4.506, allocations: 14.8 MB / 1.276 GB, free: 10.98 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/4.506, allocations: 64 kB / 1.276 GB, free: 10.92 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.318e-05/4.506, allocations: 23.95 kB / 1.276 GB, free: 10.89 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001712/4.506, allocations: 30.7 kB / 1.276 GB, free: 10.89 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5368/5.043, allocations: 32.58 MB / 1.308 GB, free: 92.39 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000107/5.043, allocations: 13.75 kB / 1.308 GB, free: 92.39 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01342/5.057, allocations: 1.305 MB / 1.309 GB, free: 92.39 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0138/5.071, allocations: 2.828 MB / 1.312 GB, free: 92.35 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002116/5.073, allocations: 127.5 kB / 1.312 GB, free: 92.35 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04766/5.12, allocations: 21.65 MB / 1.333 GB, free: 86.99 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/5.121, allocations: 18.28 kB / 1.333 GB, free: 86.99 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06689/5.187, allocations: 26.38 MB / 1.359 GB, free: 78.84 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009536/5.197, allocations: 2.187 MB / 1.361 GB, free: 78.29 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005291/5.202, allocations: 121.8 kB / 1.362 GB, free: 78.21 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01224/5.215, allocations: 454.7 kB / 1.362 GB, free: 78.13 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002872/5.218, allocations: 416.7 kB / 1.362 GB, free: 78.07 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001883/5.22, allocations: 174.7 kB / 1.362 GB, free: 78.02 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.02292/5.242, allocations: 7.716 MB / 1.37 GB, free: 75.51 MB / 0.5574 GB Notification: Performance of sort global known variables: time 9.22e-07/5.243, allocations: 1.641 kB / 1.37 GB, free: 75.51 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0219/5.264, allocations: 3.086 MB / 1.373 GB, free: 75.17 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.002576/5.267, allocations: 309.9 kB / 1.373 GB, free: 75 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.04113/5.308, allocations: 16.77 MB / 1.39 GB, free: 69.61 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.727e-05/5.308, allocations: 2.219 kB / 1.39 GB, free: 69.61 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02089/5.329, allocations: 7.197 MB / 1.397 GB, free: 66.91 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01224/5.341, allocations: 1.342 MB / 1.398 GB, free: 66.36 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1218/5.463, allocations: 36.26 MB / 1.433 GB, free: 37.24 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02719/5.491, allocations: 8.794 MB / 1.442 GB, free: 30.95 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007189/5.498, allocations: 0.8294 MB / 1.443 GB, free: 30.17 MB / 0.5574 GB Notification: Performance of SimCode: time 1.192e-06/5.498, allocations: 0 / 1.443 GB, free: 30.17 MB / 0.5574 GB Notification: Performance of Templates: time 1.646/7.144, allocations: 369.4 MB / 1.804 GB, free: 122.6 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