Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001572/0.001572, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001334/0.001334, allocations: 161.9 kB / 25.33 MB, free: 8.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9233/0.9233, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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 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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.463e-05/3.682e-05, allocations: 2.312 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01571/0.01575, allocations: 13.18 MB / 264.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.02675, allocations: 4.769 MB / 269 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.02947, allocations: 103.5 kB / 269.1 MB, free: 5.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00529/0.03476, allocations: 4.525 MB / 273.6 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005506/0.04026, allocations: 2.29 MB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.04238, allocations: 1.228 MB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007068/0.04945, allocations: 6.319 MB / 283.5 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005732/0.05518, allocations: 4.737 MB / 288.2 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006038/0.06122, allocations: 3.317 MB / 291.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005199/0.06641, allocations: 3.223 MB / 294.7 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001654/0.06807, allocations: 0.5039 MB / 295.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.07102, allocations: 1.584 MB / 296.8 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002847/0.07387, allocations: 2.817 MB / 299.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003363/0.07723, allocations: 1.776 MB / 301.4 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008924/0.08616, allocations: 6.148 MB / 307.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.08617, allocations: 0 / 307.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.08617, allocations: 0 / 307.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002902/0.08646, allocations: 0 / 307.6 MB, free: 14.77 MB / 298.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.01129/0.09775, allocations: 6.596 MB / 314.2 MB, free: 8.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.09781, allocations: 15.98 kB / 314.2 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006887/0.1047, allocations: 3.196 MB / 317.4 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005974/0.1107, allocations: 3.388 MB / 320.8 MB, free: 1.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.1109, allocations: 312.3 kB / 321.1 MB, free: 1.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009015/0.1118, allocations: 444.4 kB / 321.5 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/0.1274, allocations: 7.568 MB / 329.1 MB, free: 8.109 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001912/0.1275, allocations: 51.58 kB / 329.1 MB, free: 8.059 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005332/0.1281, allocations: 191.8 kB / 329.3 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002286/0.1304, allocations: 2.035 MB / 331.3 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.1427, allocations: 4.279 MB / 335.6 MB, free: 1.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1807/0.3234, allocations: 47.15 MB / 382.8 MB, free: 55.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006646/0.33, allocations: 3.021 MB / 385.8 MB, free: 55.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.3312, allocations: 0.7041 MB / 386.5 MB, free: 55.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006802/0.338, allocations: 4.618 MB / 391.1 MB, free: 54.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.338, allocations: 58.48 kB / 391.2 MB, free: 54.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=179): time 5.26e-06/0.338, allocations: 0 / 391.2 MB, free: 54.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=223): time 0.03112/0.3691, allocations: 15.59 MB / 406.8 MB, free: 43.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.3692, allocations: 205.4 kB / 407 MB, free: 43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00442/0.3736, allocations: 3.922 MB / 410.9 MB, free: 39.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002859/0.3739, allocations: 60.36 kB / 410.9 MB, free: 39.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.3756, allocations: 3.826 MB / 414.8 MB, free: 35.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007181/0.3763, allocations: 0.8916 MB / 415.7 MB, free: 34.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/0.3776, allocations: 1.435 MB / 417.1 MB, free: 33.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.3776, allocations: 476.8 kB / 417.6 MB, free: 32.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.379, allocations: 0.7892 MB / 418.3 MB, free: 32.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002836/0.3818, allocations: 6.451 MB / 424.8 MB, free: 23.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005335/0.3872, allocations: 7.95 MB / 432.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.764e-05/0.3873, allocations: 44 kB / 432.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.009355/0.3966, allocations: 6.407 MB / 439.2 MB, free: 6.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/0.3967, allocations: 60 kB / 439.3 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-05/0.3968, allocations: 132 kB / 439.4 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.3992, allocations: 1.017 MB / 440.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/0.4017, allocations: 1.47 MB / 441.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/0.4067, allocations: 4.591 MB / 446.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/0.41, allocations: 415.5 kB / 446.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005883/0.4106, allocations: 390.6 kB / 447.2 MB, free: 14.32 MB / 346.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.00174/0.4124, allocations: 0.695 MB / 447.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007601/0.4131, allocations: 460.4 kB / 448.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004152/0.4173, allocations: 2.264 MB / 450.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/0.4173, allocations: 24 kB / 450.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.4173, allocations: 8 kB / 450.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.4173, allocations: 11.95 kB / 450.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.4308, allocations: 7.01 MB / 457.7 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/0.4308, allocations: 8 kB / 457.7 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009361/0.4317, allocations: 328.1 kB / 458 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/0.434, allocations: 0.811 MB / 458.8 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/0.4342, allocations: 40 kB / 458.9 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004468/0.4387, allocations: 3.561 MB / 462.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.4387, allocations: 10.88 kB / 462.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00571/0.4444, allocations: 3.571 MB / 466 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/0.4459, allocations: 0.6495 MB / 466.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/0.4462, allocations: 39.98 kB / 466.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.4472, allocations: 178.4 kB / 466.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.4475, allocations: 148.9 kB / 467 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.4476, allocations: 63.98 kB / 467.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002627/0.4502, allocations: 1.746 MB / 468.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4502, allocations: 0 / 468.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004402/0.4546, allocations: 1.344 MB / 470.2 MB, free: 7.027 MB / 362.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.0006059/0.4552, allocations: 254 kB / 470.4 MB, free: 6.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005749/0.461, allocations: 3.535 MB / 474 MB, free: 3.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.461, allocations: 0 / 474 MB, free: 3.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.4623, allocations: 1.05 MB / 475 MB, free: 2.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.4646, allocations: 0.5159 MB / 475.5 MB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.4776, allocations: 9.204 MB / 484.7 MB, free: 8.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.4792, allocations: 1.534 MB / 486.3 MB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002826/0.482, allocations: 1.635 MB / 487.9 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006115/0.4826, allocations: 264.5 kB / 488.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of SimCode: time 1.894e-06/0.4826, allocations: 0 / 488.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of Templates: time 0.1636/0.6462, allocations: 40.74 MB / 0.5165 GB, free: 103.7 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.432637803256512]