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.001888/0.001888, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002132/0.002132, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.544/1.544, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.393e-06/1.393e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.88e-05, allocations: 2.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02487/0.0249, allocations: 17.44 MB / 289.6 MB, free: 272 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1606/0.1855, allocations: 5.945 MB / 295.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004978/0.1905, allocations: 171.2 kB / 295.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0134/0.2039, allocations: 6.73 MB / 302.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009293/0.2132, allocations: 2.99 MB / 305.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006244/0.2195, allocations: 2.521 MB / 308 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01458/0.234, allocations: 11.13 MB / 319.1 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0136/0.2476, allocations: 7.464 MB / 326.6 MB, free: 10.69 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01324/0.2609, allocations: 4.957 MB / 331.5 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01037/0.2712, allocations: 4.805 MB / 336.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002761/0.274, allocations: 0.7383 MB / 337.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005891/0.2799, allocations: 1.888 MB / 339 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007086/0.287, allocations: 4.096 MB / 343.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007656/0.2946, allocations: 2.587 MB / 345.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02229/0.3169, allocations: 13.55 MB / 359.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3169, allocations: 0 / 359.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3169, allocations: 4 kB / 359.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005112/0.3174, allocations: 0 / 359.2 MB, free: 10.52 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.03089/0.3483, allocations: 10.51 MB / 369.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.3484, allocations: 11.98 kB / 369.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05797/0.4064, allocations: 5.747 MB / 375.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02001/0.4264, allocations: 5.919 MB / 381.4 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004963/0.4269, allocations: 435.7 kB / 381.8 MB, free: 3.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002398/0.4293, allocations: 0.5859 MB / 382.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03295/0.4622, allocations: 11.29 MB / 393.7 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003271/0.4625, allocations: 75.41 kB / 393.8 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00145/0.464, allocations: 271.8 kB / 394 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005639/0.4696, allocations: 2.65 MB / 396.7 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02455/0.4942, allocations: 6.364 MB / 403.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3264/0.8206, allocations: 73.45 MB / 476.5 MB, free: 60.47 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02015/0.8407, allocations: 5.562 MB / 482.1 MB, free: 59.84 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003855/0.8446, allocations: 1.529 MB / 483.6 MB, free: 59.56 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02849/0.8731, allocations: 11.31 MB / 494.9 MB, free: 52.54 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.086e-05/0.8732, allocations: 70.81 kB / 495 MB, free: 52.48 MB / 378.8 MB Notification: Performance of pre-optimization done (n=281): time 7.294e-06/0.8732, allocations: 3.938 kB / 495 MB, free: 52.47 MB / 378.8 MB Notification: Performance of matching and sorting (n=374): time 0.2236/1.097, allocations: 57.62 MB / 0.5396 GB, free: 11.78 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003441/1.097, allocations: 378.3 kB / 0.54 GB, free: 11.33 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/1.11, allocations: 7.001 MB / 0.5468 GB, free: 4.539 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/1.112, allocations: 81.7 kB / 0.5469 GB, free: 4.453 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005935/1.117, allocations: 5.511 MB / 0.5523 GB, free: 15.16 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003102/1.121, allocations: 1.596 MB / 0.5539 GB, free: 13.59 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00469/1.125, allocations: 2.433 MB / 0.5562 GB, free: 11.14 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0002569/1.126, allocations: 484.7 kB / 0.5567 GB, free: 10.66 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005094/1.131, allocations: 2.045 MB / 0.5587 GB, free: 8.613 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01414/1.145, allocations: 9.998 MB / 0.5685 GB, free: 11.21 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1679/1.313, allocations: 13.17 MB / 0.5813 GB, free: 131.2 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002719/1.313, allocations: 50.08 kB / 0.5814 GB, free: 131.2 MB / 426.8 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04114/1.354, allocations: 14.1 MB / 0.5951 GB, free: 129.8 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000268/1.354, allocations: 79.88 kB / 0.5952 GB, free: 129.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003065/1.355, allocations: 173 kB / 0.5954 GB, free: 129.8 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02422/1.379, allocations: 6.008 MB / 0.6012 GB, free: 129.6 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007461/1.386, allocations: 2.189 MB / 0.6034 GB, free: 129.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03262/1.419, allocations: 16.55 MB / 0.6195 GB, free: 120.7 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009975/1.429, allocations: 0.8641 MB / 0.6204 GB, free: 120 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/1.431, allocations: 0.5281 MB / 0.6209 GB, free: 119.5 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * 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 (1091): * Single equations (assignments): 1084 * 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,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.004516/1.436, allocations: 1.003 MB / 0.6219 GB, free: 118.8 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002147/1.438, allocations: 0.6732 MB / 0.6225 GB, free: 118.4 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02672/1.464, allocations: 9.18 MB / 0.6315 GB, free: 109.1 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.172e-05/1.464, allocations: 52 kB / 0.6315 GB, free: 109.1 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.362e-05/1.465, allocations: 19.94 kB / 0.6316 GB, free: 109.1 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.457e-05/1.465, allocations: 19.94 kB / 0.6316 GB, free: 109.1 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05026/1.515, allocations: 21.01 MB / 0.6521 GB, free: 87.81 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.498e-05/1.515, allocations: 0 / 0.6521 GB, free: 87.81 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003267/1.518, allocations: 0.6086 MB / 0.6527 GB, free: 87.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02232/1.54, allocations: 5.58 MB / 0.6581 GB, free: 81.61 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008925/1.541, allocations: 60 kB / 0.6582 GB, free: 81.55 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0283/1.57, allocations: 15.25 MB / 0.6731 GB, free: 65.99 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.57, allocations: 0 / 0.6731 GB, free: 65.99 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02933/1.599, allocations: 11.18 MB / 0.684 GB, free: 54.68 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/1.601, allocations: 0.6006 MB / 0.6846 GB, free: 54.08 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001707/1.603, allocations: 63.12 kB / 0.6847 GB, free: 54.02 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00552/1.609, allocations: 0.5499 MB / 0.6852 GB, free: 53.47 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/1.61, allocations: 262.5 kB / 0.6854 GB, free: 53.21 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003637/1.61, allocations: 92 kB / 0.6855 GB, free: 53.12 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00422/1.614, allocations: 3.027 MB / 0.6885 GB, free: 50.12 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/1.614, allocations: 0 / 0.6885 GB, free: 50.12 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.008913/1.623, allocations: 2.609 MB / 0.691 GB, free: 47.53 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (243): * Single equations (assignments): 236 * 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,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009308/1.624, allocations: 318.9 kB / 0.6913 GB, free: 47.23 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01389/1.638, allocations: 8.379 MB / 0.6995 GB, free: 38.8 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.638, allocations: 192 / 0.6995 GB, free: 38.8 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006783/1.645, allocations: 3.681 MB / 0.7031 GB, free: 35.05 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005132/1.65, allocations: 0.8379 MB / 0.7039 GB, free: 34.27 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/1.672, allocations: 15.15 MB / 0.7187 GB, free: 18.99 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005107/1.677, allocations: 4.367 MB / 0.723 GB, free: 14.57 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.005989/1.683, allocations: 2.302 MB / 0.7252 GB, free: 12.27 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/1.685, allocations: 376.4 kB / 0.7256 GB, free: 11.9 MB / 426.8 MB Notification: Performance of SimCode: time 2.745e-06/1.685, allocations: 0 / 0.7256 GB, free: 11.9 MB / 426.8 MB Notification: Performance of Templates: time 0.3017/1.986, allocations: 109.8 MB / 0.8328 GB, free: 44.67 MB / 426.8 MB " [Timeout remaining time 658] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.201409041997977]