Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009911/0.0009911, allocations: 83.67 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 161.7 kB / 24.99 MB, free: 9.234 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9471/0.9471, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.055e-05, allocations: 5.125 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.009956/0.009976, allocations: 13.05 MB / 286 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1292/0.1392, allocations: 4.766 MB / 290.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002836/0.142, allocations: 102.7 kB / 290.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006219/0.1482, allocations: 4.493 MB / 295.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.153, allocations: 2.248 MB / 297.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.1549, allocations: 1.226 MB / 298.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00641/0.1613, allocations: 6.81 MB / 305.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004131/0.1655, allocations: 4.719 MB / 310.4 MB, free: 8.508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.1695, allocations: 3.295 MB / 313.7 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.1725, allocations: 3.211 MB / 316.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007222/0.1732, allocations: 0.5 MB / 317.4 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.175, allocations: 1.587 MB / 319 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.1765, allocations: 2.782 MB / 321.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001924/0.1784, allocations: 1.754 MB / 323.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005147/0.1836, allocations: 6.092 MB / 329.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1836, allocations: 0 / 329.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1836, allocations: 0 / 329.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.837e-05/0.1837, allocations: 4 kB / 329.6 MB, free: 7.652 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.00678/0.1905, allocations: 6.563 MB / 336.2 MB, free: 1.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.1905, allocations: 15.97 kB / 336.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00642/0.1969, allocations: 3.208 MB / 339.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.2007, allocations: 3.337 MB / 342.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.2009, allocations: 303.3 kB / 343.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005/0.2014, allocations: 437.5 kB / 343.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009119/0.2105, allocations: 7.59 MB / 351.1 MB, free: 1.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.709e-05/0.2106, allocations: 43.58 kB / 351.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/0.2109, allocations: 191.9 kB / 351.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001804/0.2127, allocations: 2.036 MB / 353.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007891/0.2206, allocations: 4.287 MB / 357.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/0.2484, allocations: 47.15 MB / 404.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006171/0.2546, allocations: 3.027 MB / 407.8 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008872/0.2555, allocations: 0.6982 MB / 408.5 MB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005094/0.2606, allocations: 4.6 MB / 413.1 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.2606, allocations: 66.27 kB / 413.2 MB, free: 2.328 MB / 362.7 MB Notification: Performance of pre-optimization done (n=179): time 3.026e-06/0.2606, allocations: 4 kB / 413.2 MB, free: 2.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.02998/0.2906, allocations: 15.5 MB / 428.7 MB, free: 2.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.2907, allocations: 205.9 kB / 428.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1176/0.4083, allocations: 3.884 MB / 432.8 MB, free: 120.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005193/0.4088, allocations: 58.58 kB / 432.8 MB, free: 120.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002316/0.4111, allocations: 3.824 MB / 436.6 MB, free: 119 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008734/0.412, allocations: 0.8932 MB / 437.5 MB, free: 118.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001745/0.4137, allocations: 1.428 MB / 439 MB, free: 118.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.4138, allocations: 482.6 kB / 439.4 MB, free: 117.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.4154, allocations: 0.7915 MB / 440.2 MB, free: 117.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0034/0.4188, allocations: 6.446 MB / 446.7 MB, free: 110.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005741/0.4245, allocations: 7.95 MB / 454.6 MB, free: 102.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.437e-05/0.4246, allocations: 41.81 kB / 454.7 MB, free: 102.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.009355/0.4339, allocations: 6.4 MB / 461.1 MB, free: 100.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/0.434, allocations: 64.69 kB / 461.1 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/0.4341, allocations: 132.9 kB / 461.2 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/0.4366, allocations: 1.02 MB / 462.3 MB, free: 100 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.439, allocations: 1.472 MB / 463.7 MB, free: 99.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004673/0.4437, allocations: 4.595 MB / 468.3 MB, free: 96.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/0.4466, allocations: 404.5 kB / 468.7 MB, free: 96.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/0.4469, allocations: 387.8 kB / 469.1 MB, free: 96.23 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.001361/0.4483, allocations: 0.6915 MB / 469.8 MB, free: 95.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/0.4488, allocations: 457.5 kB / 470.2 MB, free: 95.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.4521, allocations: 2.269 MB / 472.5 MB, free: 93.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.4522, allocations: 24 kB / 472.5 MB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.4522, allocations: 8 kB / 472.5 MB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.4522, allocations: 7.359 kB / 472.6 MB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00877/0.461, allocations: 6.977 MB / 479.5 MB, free: 87.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.461, allocations: 7.984 kB / 479.5 MB, free: 87.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007311/0.4617, allocations: 328.1 kB / 479.9 MB, free: 86.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001964/0.4637, allocations: 0.8072 MB / 480.7 MB, free: 85.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.4638, allocations: 44.8 kB / 480.7 MB, free: 85.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.4674, allocations: 3.57 MB / 484.3 MB, free: 82.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.4674, allocations: 8.031 kB / 484.3 MB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004293/0.4717, allocations: 3.567 MB / 487.9 MB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005195/0.4722, allocations: 393.2 kB / 488.2 MB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/0.4725, allocations: 43.81 kB / 488.3 MB, free: 78.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/0.4734, allocations: 155.7 kB / 488.4 MB, free: 78.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.4736, allocations: 156.9 kB / 488.6 MB, free: 77.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.52e-05/0.4737, allocations: 59.98 kB / 488.6 MB, free: 77.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001645/0.4754, allocations: 1.719 MB / 490.4 MB, free: 76.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4754, allocations: 4.031 kB / 490.4 MB, free: 76.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003631/0.479, allocations: 1.316 MB / 491.7 MB, free: 74.75 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.0004036/0.4794, allocations: 246.2 kB / 491.9 MB, free: 74.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004049/0.4835, allocations: 3.526 MB / 495.5 MB, free: 70.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4835, allocations: 0 / 495.5 MB, free: 70.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009814/0.4844, allocations: 1.069 MB / 496.5 MB, free: 69.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.4859, allocations: 0.4952 MB / 497 MB, free: 69.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009469/0.4954, allocations: 9.175 MB / 0.4943 GB, free: 60.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.4965, allocations: 1.538 MB / 0.4958 GB, free: 58.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002188/0.4987, allocations: 1.626 MB / 0.4974 GB, free: 56.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006125/0.4993, allocations: 264.5 kB / 0.4977 GB, free: 56.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.4993, allocations: 3.938 kB / 0.4977 GB, free: 56.62 MB / 378.7 MB Notification: Performance of Templates: time 0.0563/0.5556, allocations: 40.01 MB / 0.5367 GB, free: 17.18 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.036525639006868]