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.0009409/0.0009411, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008937/0.0008937, allocations: 90.56 kB / 261.7 MB, free: 1.684 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.2059/0.2059, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.101e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1445, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4469/0.5914, allocations: 110.8 MB / 0.5742 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.5917, allocations: 78.31 kB / 0.5743 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9138/1.506, allocations: 232.3 MB / 0.8011 GB, free: 84.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.753e-06/1.506, allocations: 0 / 0.8011 GB, free: 84.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008696/1.506, allocations: 248.2 kB / 0.8014 GB, free: 84.92 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.0503/1.557, allocations: 12.24 MB / 0.8133 GB, free: 78.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/1.557, allocations: 11.81 kB / 0.8133 GB, free: 78.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05322/1.61, allocations: 12.8 MB / 0.8258 GB, free: 68.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03662/1.647, allocations: 13.23 MB / 0.8388 GB, free: 55.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009251/1.648, allocations: 416 kB / 0.8392 GB, free: 55.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007934/1.656, allocations: 0.7419 MB / 0.8399 GB, free: 54.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03857/1.694, allocations: 17.44 MB / 0.8569 GB, free: 37.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06989/1.764, allocations: 25.81 MB / 0.8821 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001291/1.766, allocations: 142.7 kB / 0.8823 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007722/1.773, allocations: 64 kB / 0.8823 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004766/1.778, allocations: 2.869 MB / 0.8851 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5929/2.371, allocations: 121 MB / 1.003 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01452/2.386, allocations: 10.92 MB / 1.014 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01033/2.396, allocations: 7.685 MB / 1.021 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/2.398, allocations: 1.099 MB / 1.023 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/2.398, allocations: 104.2 kB / 1.023 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=552): time 9.698e-06/2.398, allocations: 0 / 1.023 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=640): time 0.1468/2.545, allocations: 62.81 MB / 1.084 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001959/2.545, allocations: 380.8 kB / 1.084 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01914/2.564, allocations: 7.935 MB / 1.092 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002104/2.566, allocations: 29.7 kB / 1.092 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.009781/2.576, allocations: 8.551 MB / 1.1 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004768/2.581, allocations: 2.282 MB / 1.103 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003/2.584, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001387/2.585, allocations: 0.9767 MB / 1.104 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0127/2.598, allocations: 6.426 MB / 1.11 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3826/2.981, allocations: 14.92 MB / 1.124 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0219/3.003, allocations: 9.664 MB / 1.134 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000848/3.004, allocations: 85.72 kB / 1.134 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2056) (initialization): time 0.05928/3.063, allocations: 22.63 MB / 1.156 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001849/3.065, allocations: 135.5 kB / 1.156 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00111/3.066, allocations: 297.9 kB / 1.157 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008864/3.075, allocations: 3.313 MB / 1.16 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01596/3.091, allocations: 3.843 MB / 1.164 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02636/3.117, allocations: 21.26 MB / 1.184 GB, free: 115 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01678/3.134, allocations: 0.6419 MB / 1.185 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005155/3.139, allocations: 0.901 MB / 1.186 GB, free: 114.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1368 * 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 (1938): * Single equations (assignments): 1931 * 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%) 21,(4,75.0%) 21,(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007505/3.147, allocations: 0.913 MB / 1.187 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003059/3.15, allocations: 0.8974 MB / 1.188 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02431/3.174, allocations: 13.83 MB / 1.201 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001299/3.174, allocations: 67.25 kB / 1.201 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.526e-05/3.174, allocations: 15.94 kB / 1.201 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001485/3.175, allocations: 33.95 kB / 1.201 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08617/3.261, allocations: 28.86 MB / 1.229 GB, free: 97.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001157/3.261, allocations: 8 kB / 1.229 GB, free: 97.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01308/3.274, allocations: 1.249 MB / 1.231 GB, free: 96.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01324/3.287, allocations: 2.793 MB / 1.233 GB, free: 94.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00214/3.29, allocations: 33.61 kB / 1.233 GB, free: 94.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0391/3.329, allocations: 19.66 MB / 1.253 GB, free: 77.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/3.329, allocations: 11.94 kB / 1.253 GB, free: 77.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0527/3.382, allocations: 23.43 MB / 1.275 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008568/3.39, allocations: 1.928 MB / 1.277 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004571/3.395, allocations: 18.38 kB / 1.277 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008926/3.404, allocations: 350.6 kB / 1.278 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002263/3.406, allocations: 397.6 kB / 1.278 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006213/3.407, allocations: 160.4 kB / 1.278 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01013/3.417, allocations: 5.373 MB / 1.283 GB, free: 49.24 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.81e-07/3.417, allocations: 4 kB / 1.283 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01718/3.434, allocations: 2.656 MB / 1.286 GB, free: 46.59 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (553): * Single equations (assignments): 546 * 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%) 18,(4,75.0%) 18,(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001694/3.436, allocations: 197.6 kB / 1.286 GB, free: 46.39 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.026/3.462, allocations: 16.34 MB / 1.302 GB, free: 31.72 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/3.462, allocations: 4 kB / 1.302 GB, free: 31.72 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01079/3.473, allocations: 6.85 MB / 1.309 GB, free: 25.47 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007593/3.48, allocations: 0.968 MB / 1.31 GB, free: 24.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4158/3.896, allocations: 24.87 MB / 1.334 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02083/3.917, allocations: 8.812 MB / 1.343 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01594/3.933, allocations: 5.096 MB / 1.348 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004149/3.937, allocations: 0.6486 MB / 1.348 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.363e-06/3.937, allocations: 0 / 1.348 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.1821/4.119, allocations: 100.7 MB / 1.447 GB, free: 67.54 MB / 0.5573 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