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.0009422/0.0009422, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009414/0.0009414, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.908/0.908, allocations: 177 MB / 205.2 MB, free: 5.055 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.382e-06/1.382e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.076e-05, allocations: 2.312 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.1303/0.1303, allocations: 16.99 MB / 290.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.1429, allocations: 6.216 MB / 296.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003875/0.1468, allocations: 169.2 kB / 296.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007298/0.1541, allocations: 6.596 MB / 303.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00688/0.161, allocations: 3.046 MB / 306.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003959/0.165, allocations: 2.498 MB / 308.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009518/0.1745, allocations: 11.11 MB / 320 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.1846, allocations: 7.162 MB / 327.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01287/0.1975, allocations: 6.668 MB / 333.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006951/0.2044, allocations: 4.583 MB / 338.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00211/0.2065, allocations: 0.7383 MB / 339.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.2107, allocations: 1.931 MB / 341.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004162/0.2149, allocations: 4.111 MB / 345.2 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004757/0.2197, allocations: 2.583 MB / 347.8 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.2304, allocations: 8.418 MB / 356.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2305, allocations: 0 / 356.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2305, allocations: 0 / 356.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002844/0.2307, allocations: 0 / 356.2 MB, free: 13.76 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.01172/0.2425, allocations: 8.237 MB / 364.5 MB, free: 5.449 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2425, allocations: 11.98 kB / 364.5 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006132/0.2486, allocations: 2.034 MB / 366.5 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005723/0.2543, allocations: 4.16 MB / 370.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.2546, allocations: 431.7 kB / 371.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008587/0.2554, allocations: 0.5888 MB / 371.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.2671, allocations: 8.293 MB / 380 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.2672, allocations: 75.39 kB / 380.1 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004146/0.2676, allocations: 267.8 kB / 380.3 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001808/0.2694, allocations: 2.32 MB / 382.6 MB, free: 2.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007811/0.2772, allocations: 4.073 MB / 386.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2629/0.5402, allocations: 47.82 MB / 434.5 MB, free: 81.78 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007769/0.5479, allocations: 3.026 MB / 437.6 MB, free: 81.55 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009822/0.5489, allocations: 0.6768 MB / 438.2 MB, free: 81.52 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009407/0.5583, allocations: 6.788 MB / 445 MB, free: 80.7 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.5584, allocations: 56.69 kB / 445.1 MB, free: 80.66 MB / 378.8 MB Notification: Performance of pre-optimization done (n=227): time 4.227e-06/0.5584, allocations: 0 / 445.1 MB, free: 80.66 MB / 378.8 MB Notification: Performance of matching and sorting (n=276): time 0.04027/0.5986, allocations: 17.91 MB / 463 MB, free: 77.15 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.5987, allocations: 360.1 kB / 463.3 MB, free: 76.71 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/0.6021, allocations: 5.065 MB / 468.4 MB, free: 73.15 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.6023, allocations: 64.52 kB / 468.5 MB, free: 73.11 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.6035, allocations: 4.644 MB / 473.1 MB, free: 69.14 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004905/0.604, allocations: 1.09 MB / 474.2 MB, free: 68.25 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/0.6052, allocations: 1.721 MB / 475.9 MB, free: 67.2 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.6053, allocations: 301.1 kB / 476.2 MB, free: 66.91 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.6068, allocations: 1.198 MB / 477.4 MB, free: 65.7 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002628/0.6095, allocations: 6.504 MB / 483.9 MB, free: 56.64 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004028/0.6135, allocations: 8.288 MB / 492.2 MB, free: 46.48 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.151e-05/0.6135, allocations: 52 kB / 492.3 MB, free: 46.43 MB / 378.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.006461/0.62, allocations: 6.733 MB / 499 MB, free: 39.67 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.957e-05/0.6201, allocations: 87.94 kB / 499.1 MB, free: 39.58 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.648e-05/0.6201, allocations: 184 kB / 499.3 MB, free: 39.4 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/0.6229, allocations: 1.453 MB / 0.489 GB, free: 37.94 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/0.6257, allocations: 2.086 MB / 0.491 GB, free: 35.85 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005571/0.6313, allocations: 6.746 MB / 0.4976 GB, free: 28.82 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/0.6347, allocations: 391.6 kB / 0.498 GB, free: 28.43 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/0.635, allocations: 464 kB / 0.4984 GB, free: 27.98 MB / 378.8 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.001541/0.6365, allocations: 0.8441 MB / 0.4992 GB, free: 27.12 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000459/0.637, allocations: 367.6 kB / 0.4996 GB, free: 26.77 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/0.6401, allocations: 2.278 MB / 0.5018 GB, free: 24.46 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.6401, allocations: 28 kB / 0.5018 GB, free: 24.43 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.6401, allocations: 4 kB / 0.5018 GB, free: 24.43 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.6401, allocations: 15.95 kB / 0.5019 GB, free: 24.41 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008578/0.6487, allocations: 8.294 MB / 0.51 GB, free: 15.73 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.6487, allocations: 16 kB / 0.51 GB, free: 15.72 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000803/0.6495, allocations: 423.3 kB / 0.5104 GB, free: 15.3 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/0.6521, allocations: 1.425 MB / 0.5118 GB, free: 13.86 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.6522, allocations: 64 kB / 0.5118 GB, free: 13.8 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004772/0.6569, allocations: 6.62 MB / 0.5183 GB, free: 6.883 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.6569, allocations: 27.88 kB / 0.5183 GB, free: 6.855 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.6605, allocations: 3.773 MB / 0.522 GB, free: 2.664 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/0.6611, allocations: 0.5391 MB / 0.5225 GB, free: 2.121 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/0.6615, allocations: 76.02 kB / 0.5226 GB, free: 2.047 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.6625, allocations: 71.98 kB / 0.5227 GB, free: 1.977 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/0.6628, allocations: 260.3 kB / 0.5229 GB, free: 1.723 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.6629, allocations: 76 kB / 0.523 GB, free: 1.648 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001461/0.6644, allocations: 1.997 MB / 0.525 GB, free: 15.68 MB / 394.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6644, allocations: 0 / 0.525 GB, free: 15.68 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.005124/0.6695, allocations: 1.879 MB / 0.5268 GB, free: 13.8 MB / 394.8 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.0005259/0.67, allocations: 302.2 kB / 0.5271 GB, free: 13.5 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004838/0.6749, allocations: 4.269 MB / 0.5312 GB, free: 9.207 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001816/0.6751, allocations: 124.2 kB / 0.5314 GB, free: 9.078 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.6764, allocations: 1.358 MB / 0.5327 GB, free: 7.684 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/0.6796, allocations: 1.183 MB / 0.5338 GB, free: 6.539 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.6932, allocations: 12.94 MB / 0.5465 GB, free: 9.219 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/0.6951, allocations: 2.13 MB / 0.5486 GB, free: 7.062 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001825/0.6969, allocations: 0.7867 MB / 0.5493 GB, free: 6.277 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/0.6983, allocations: 0.8975 MB / 0.5502 GB, free: 5.375 MB / 410.8 MB Notification: Performance of SimCode: time 1.533e-06/0.6983, allocations: 0 / 0.5502 GB, free: 5.375 MB / 410.8 MB Notification: Performance of Templates: time 0.2072/0.9055, allocations: 68.99 MB / 0.6176 GB, free: 148.3 MB / 442.8 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 -s gbode -gbm=radauIIA3 -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: 4.697664624080062]