Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.001722/0.001722, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001692/0.001692, allocations: 158.9 kB / 25.61 MB, free: 8.891 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.9721/0.9721, allocations: 177 MB / 205.9 MB, free: 4.453 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.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.487e-05, allocations: 2.938 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01823/0.01825, allocations: 16.95 MB / 291.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.02836, allocations: 5.948 MB / 297 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.03056, allocations: 171.1 kB / 297.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006193/0.03676, allocations: 6.612 MB / 303.8 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005095/0.04185, allocations: 3.013 MB / 306.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.045, allocations: 2.506 MB / 309.3 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.05502, allocations: 11.14 MB / 320.4 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008686/0.06371, allocations: 7.459 MB / 327.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/0.07422, allocations: 6.883 MB / 334.8 MB, free: 7.367 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006383/0.08061, allocations: 4.786 MB / 339.6 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001773/0.08238, allocations: 0.7383 MB / 340.3 MB, free: 1.832 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1362/0.2186, allocations: 1.867 MB / 342.2 MB, free: 37.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005899/0.2245, allocations: 4.107 MB / 346.3 MB, free: 37.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0066/0.2311, allocations: 2.586 MB / 348.9 MB, free: 37.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.2419, allocations: 8.424 MB / 357.3 MB, free: 36.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2419, allocations: 0.9375 kB / 357.3 MB, free: 36.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2419, allocations: 0 / 357.3 MB, free: 36.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004337/0.2424, allocations: 3.719 kB / 357.3 MB, free: 36.25 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.01412/0.2565, allocations: 9.125 MB / 366.4 MB, free: 32.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2565, allocations: 8.906 kB / 366.4 MB, free: 32.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/0.277, allocations: 4.677 MB / 371.1 MB, free: 31.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007495/0.2845, allocations: 4.425 MB / 375.5 MB, free: 29.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/0.2848, allocations: 436.8 kB / 376 MB, free: 29.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.2858, allocations: 0.58 MB / 376.5 MB, free: 29.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/0.2988, allocations: 9.17 MB / 385.7 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002176/0.299, allocations: 81.84 kB / 385.8 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006297/0.2996, allocations: 271.4 kB / 386.1 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001637/0.3012, allocations: 2.318 MB / 388.4 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.3113, allocations: 4.159 MB / 392.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06226/0.3736, allocations: 65.1 MB / 457.6 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008731/0.3823, allocations: 3.275 MB / 460.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.3837, allocations: 0.8481 MB / 461.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01203/0.3957, allocations: 7.329 MB / 469.1 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.3957, allocations: 66.2 kB / 469.1 MB, free: 2.602 MB / 378.7 MB Notification: Performance of pre-optimization done (n=227): time 5.009e-06/0.3957, allocations: 0 / 469.1 MB, free: 2.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=276): time 0.1905/0.5862, allocations: 21.21 MB / 490.4 MB, free: 127.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.5863, allocations: 372.5 kB / 490.7 MB, free: 127.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007257/0.5936, allocations: 5.618 MB / 496.3 MB, free: 126.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005061/0.5941, allocations: 69.05 kB / 496.4 MB, free: 126.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002825/0.5969, allocations: 5.37 MB / 0.49 GB, free: 123.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001345/0.5982, allocations: 1.145 MB / 0.4911 GB, free: 123.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002086/0.6003, allocations: 1.989 MB / 0.4931 GB, free: 122.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.742e-05/0.6004, allocations: 482.5 kB / 0.4935 GB, free: 122.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.6018, allocations: 0.9685 MB / 0.4945 GB, free: 122.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/0.6052, allocations: 9.039 MB / 0.5033 GB, free: 112.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006044/0.6113, allocations: 10.64 MB / 0.5137 GB, free: 101.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/0.6114, allocations: 59.16 kB / 0.5138 GB, free: 101.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.01027/0.6217, allocations: 7.856 MB / 0.5214 GB, free: 98.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-05/0.6217, allocations: 90.62 kB / 0.5215 GB, free: 98.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/0.6219, allocations: 187.5 kB / 0.5217 GB, free: 98.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/0.6249, allocations: 1.457 MB / 0.5231 GB, free: 97.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/0.6281, allocations: 1.996 MB / 0.5251 GB, free: 95.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0064/0.6345, allocations: 8.545 MB / 0.5334 GB, free: 87.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004615/0.6391, allocations: 399.4 kB / 0.5338 GB, free: 86.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005653/0.6397, allocations: 456 kB / 0.5342 GB, free: 86.35 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 840 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1111): * Single equations (assignments): 1104 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,21,76.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.002078/0.6417, allocations: 0.8861 MB / 0.5351 GB, free: 85.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009354/0.6427, allocations: 0.6136 MB / 0.5357 GB, free: 84.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/0.6465, allocations: 2.575 MB / 0.5382 GB, free: 82.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/0.6465, allocations: 32 kB / 0.5382 GB, free: 82.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.6465, allocations: 8 kB / 0.5383 GB, free: 82.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.6465, allocations: 14.62 kB / 0.5383 GB, free: 82.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.6621, allocations: 9.604 MB / 0.5476 GB, free: 73.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.6622, allocations: 20 kB / 0.5477 GB, free: 73.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008417/0.663, allocations: 380.1 kB / 0.548 GB, free: 72.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/0.6657, allocations: 1.173 MB / 0.5492 GB, free: 71.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/0.6658, allocations: 75.92 kB / 0.5492 GB, free: 71.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005509/0.6713, allocations: 8.395 MB / 0.5574 GB, free: 62.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.6713, allocations: 27.88 kB / 0.5575 GB, free: 62.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00498/0.6763, allocations: 4.359 MB / 0.5617 GB, free: 57.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/0.6779, allocations: 0.5802 MB / 0.5623 GB, free: 57.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006081/0.6785, allocations: 76.02 kB / 0.5624 GB, free: 57.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.6798, allocations: 71.98 kB / 0.5624 GB, free: 57.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/0.6801, allocations: 256.4 kB / 0.5627 GB, free: 56.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.6803, allocations: 80 kB / 0.5628 GB, free: 56.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002503/0.6828, allocations: 2.363 MB / 0.5651 GB, free: 54.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.6828, allocations: 0 / 0.5651 GB, free: 54.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005453/0.6882, allocations: 1.883 MB / 0.5669 GB, free: 52.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * Number of states: 2 (revolute1.phi,revolute1.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 (219): * Single equations (assignments): 212 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,21,76.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005794/0.6888, allocations: 328.9 kB / 0.5672 GB, free: 52.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005058/0.6939, allocations: 4.765 MB / 0.5719 GB, free: 47.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.6939, allocations: 0 / 0.5719 GB, free: 47.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.6952, allocations: 1.644 MB / 0.5735 GB, free: 45.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00321/0.6985, allocations: 0.8489 MB / 0.5743 GB, free: 45.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.7133, allocations: 13.2 MB / 0.5872 GB, free: 31.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.7148, allocations: 2.135 MB / 0.5893 GB, free: 29.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001932/0.7168, allocations: 0.7834 MB / 0.59 GB, free: 28.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/0.718, allocations: 0.9627 MB / 0.591 GB, free: 27.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.718, allocations: 0 / 0.591 GB, free: 27.45 MB / 394.7 MB Notification: Performance of Templates: time 0.209/0.927, allocations: 70.68 MB / 0.66 GB, free: 87.06 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.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: 5.304171938914806]