Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 67.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 164.9 kB / 24.99 MB, free: 9.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9417/0.9417, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.218e-05, allocations: 6.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01005/0.01007, allocations: 13.06 MB / 286.1 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1389/0.149, allocations: 4.779 MB / 290.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.1512, allocations: 102.6 kB / 291 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0057/0.1569, allocations: 4.486 MB / 295.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00429/0.1612, allocations: 2.257 MB / 297.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.163, allocations: 1.217 MB / 299 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005943/0.1689, allocations: 6.803 MB / 305.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00375/0.1727, allocations: 4.714 MB / 310.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002933/0.1756, allocations: 3.303 MB / 313.8 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.178, allocations: 3.216 MB / 317 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004481/0.1784, allocations: 0.5 MB / 317.5 MB, free: 3.328 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.1799, allocations: 1.576 MB / 319.1 MB, free: 1.832 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.1812, allocations: 2.781 MB / 321.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.1827, allocations: 1.763 MB / 323.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.1871, allocations: 6.094 MB / 329.7 MB, free: 7.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1871, allocations: 4 kB / 329.7 MB, free: 7.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1871, allocations: 0 / 329.7 MB, free: 7.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.521e-05/0.1872, allocations: 0 / 329.7 MB, free: 7.715 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.006713/0.1939, allocations: 6.566 MB / 336.3 MB, free: 1.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.194, allocations: 12.03 kB / 336.3 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006509/0.2005, allocations: 3.196 MB / 339.5 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004066/0.2046, allocations: 3.345 MB / 342.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.2048, allocations: 305.5 kB / 343.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005236/0.2053, allocations: 437.9 kB / 343.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.2154, allocations: 7.592 MB / 351.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.2155, allocations: 43.62 kB / 351.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003262/0.2158, allocations: 193.3 kB / 351.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001861/0.2176, allocations: 2.034 MB / 353.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008659/0.2263, allocations: 4.28 MB / 357.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03202/0.2583, allocations: 47.15 MB / 404.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006391/0.2647, allocations: 3.023 MB / 407.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009695/0.2657, allocations: 0.7091 MB / 408.6 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005137/0.2708, allocations: 4.604 MB / 413.2 MB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.2709, allocations: 62.33 kB / 413.2 MB, free: 2.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=179): time 3.286e-06/0.2709, allocations: 0 / 413.2 MB, free: 2.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.03116/0.302, allocations: 15.5 MB / 428.7 MB, free: 2.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.3021, allocations: 205.9 kB / 428.9 MB, free: 2.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1224/0.4245, allocations: 3.883 MB / 432.8 MB, free: 120.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003569/0.4248, allocations: 58.55 kB / 432.9 MB, free: 120.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.4265, allocations: 3.818 MB / 436.7 MB, free: 119 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006309/0.4271, allocations: 0.8994 MB / 437.6 MB, free: 118.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/0.4285, allocations: 1.426 MB / 439 MB, free: 118.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.4286, allocations: 481.1 kB / 439.5 MB, free: 118 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.4299, allocations: 0.7938 MB / 440.3 MB, free: 117.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002895/0.4328, allocations: 6.454 MB / 446.7 MB, free: 110.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004904/0.4377, allocations: 7.949 MB / 454.7 MB, free: 102.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.817e-05/0.4378, allocations: 38.25 kB / 454.7 MB, free: 102.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.008059/0.4459, allocations: 6.398 MB / 461.1 MB, free: 100.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.652e-05/0.4459, allocations: 68.81 kB / 461.2 MB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.693e-05/0.446, allocations: 134.2 kB / 461.3 MB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/0.4484, allocations: 1.013 MB / 462.3 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.4506, allocations: 1.466 MB / 463.8 MB, free: 99.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004485/0.4551, allocations: 4.597 MB / 468.4 MB, free: 96.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/0.4579, allocations: 410.4 kB / 468.8 MB, free: 96.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002991/0.4582, allocations: 388 kB / 469.2 MB, free: 96.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001269/0.4594, allocations: 0.6859 MB / 469.9 MB, free: 95.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/0.4598, allocations: 459.1 kB / 470.3 MB, free: 95.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.463, allocations: 2.264 MB / 472.6 MB, free: 93.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.463, allocations: 24 kB / 472.6 MB, free: 93.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.4631, allocations: 15 kB / 472.6 MB, free: 93.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.4631, allocations: 9.984 kB / 472.6 MB, free: 93.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00775/0.4708, allocations: 6.974 MB / 479.6 MB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4708, allocations: 8 kB / 479.6 MB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/0.4715, allocations: 331.5 kB / 479.9 MB, free: 86.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.4735, allocations: 0.8076 MB / 480.7 MB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-05/0.4736, allocations: 40 kB / 480.8 MB, free: 86.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/0.477, allocations: 3.577 MB / 484.4 MB, free: 82.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.477, allocations: 7.938 kB / 484.4 MB, free: 82.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003987/0.481, allocations: 3.56 MB / 487.9 MB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.4813, allocations: 397.1 kB / 488.3 MB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.4815, allocations: 40.88 kB / 488.3 MB, free: 78.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008651/0.4824, allocations: 155.8 kB / 488.5 MB, free: 78.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.4826, allocations: 152.9 kB / 488.7 MB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.22e-05/0.4827, allocations: 67.5 kB / 488.7 MB, free: 77.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001384/0.4841, allocations: 1.719 MB / 490.4 MB, free: 76.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4841, allocations: 0 / 490.4 MB, free: 76.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00273/0.4868, allocations: 1.312 MB / 491.7 MB, free: 74.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00039/0.4872, allocations: 247.1 kB / 492 MB, free: 74.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003413/0.4906, allocations: 3.54 MB / 495.5 MB, free: 71.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4906, allocations: 0 / 495.5 MB, free: 71.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009215/0.4915, allocations: 1.062 MB / 496.6 MB, free: 70 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.493, allocations: 0.5007 MB / 497.1 MB, free: 69.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008282/0.5013, allocations: 9.173 MB / 0.4944 GB, free: 60.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009827/0.5023, allocations: 1.538 MB / 0.4959 GB, free: 58.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001994/0.5043, allocations: 1.633 MB / 0.4975 GB, free: 56.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/0.5047, allocations: 260.5 kB / 0.4977 GB, free: 56.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5047, allocations: 4 kB / 0.4977 GB, free: 56.73 MB / 378.7 MB Notification: Performance of Templates: time 0.04544/0.5501, allocations: 40.01 MB / 0.5368 GB, free: 17.31 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.084510121960193]