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.001175/0.001175, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.00121/0.00121, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.8954/0.8954, allocations: 177 MB / 204.8 MB, free: 5.598 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.754e-06/1.754e-06, allocations: 3.938 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.566e-05, allocations: 5.266 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.1384/0.1384, allocations: 17.53 MB / 290.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.1496, allocations: 5.983 MB / 296.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.1521, allocations: 169 kB / 296.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006966/0.1591, allocations: 6.751 MB / 303.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005624/0.1647, allocations: 2.999 MB / 306.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.1681, allocations: 2.533 MB / 308.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008531/0.1766, allocations: 11.13 MB / 320 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007425/0.1841, allocations: 7.461 MB / 327.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007831/0.1919, allocations: 6.856 MB / 334.3 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005097/0.197, allocations: 4.774 MB / 339.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001404/0.1984, allocations: 0.7383 MB / 339.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.2009, allocations: 1.869 MB / 341.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00254/0.2034, allocations: 4.107 MB / 345.8 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002339/0.2057, allocations: 2.587 MB / 348.4 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007362/0.2131, allocations: 8.426 MB / 356.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2131, allocations: 0 / 356.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2131, allocations: 4 kB / 356.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001664/0.2133, allocations: 0 / 356.8 MB, free: 13.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.01211/0.2254, allocations: 9.783 MB / 366.6 MB, free: 3.648 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.2254, allocations: 15.98 kB / 366.6 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0213/0.2467, allocations: 5.616 MB / 372.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007196/0.2539, allocations: 5.095 MB / 377.3 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.2542, allocations: 435.7 kB / 377.8 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007697/0.2549, allocations: 0.5821 MB / 378.4 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.2691, allocations: 10.53 MB / 388.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.2692, allocations: 71.42 kB / 388.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004364/0.2696, allocations: 275.8 kB / 389.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001987/0.2716, allocations: 2.495 MB / 391.7 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.282, allocations: 5.676 MB / 397.4 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2895/0.5715, allocations: 66.12 MB / 463.5 MB, free: 63.39 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.5819, allocations: 4.432 MB / 467.9 MB, free: 63.23 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.5834, allocations: 1.005 MB / 468.9 MB, free: 63.18 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01047/0.5939, allocations: 7.864 MB / 476.8 MB, free: 61.87 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.5939, allocations: 60.48 kB / 476.9 MB, free: 61.83 MB / 378.8 MB Notification: Performance of pre-optimization done (n=227): time 5.901e-06/0.5939, allocations: 1.453 kB / 476.9 MB, free: 61.83 MB / 378.8 MB Notification: Performance of matching and sorting (n=276): time 0.06182/0.6557, allocations: 31.72 MB / 0.4967 GB, free: 40.38 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.6558, allocations: 367.9 kB / 0.497 GB, free: 39.94 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004853/0.6606, allocations: 5.686 MB / 0.5026 GB, free: 34.5 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002585/0.6609, allocations: 69.7 kB / 0.5026 GB, free: 34.42 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001868/0.6628, allocations: 5.327 MB / 0.5078 GB, free: 29.49 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007299/0.6635, allocations: 1.131 MB / 0.509 GB, free: 28.38 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/0.6649, allocations: 1.954 MB / 0.5109 GB, free: 26.41 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.6649, allocations: 480.8 kB / 0.5113 GB, free: 25.93 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.6664, allocations: 1.091 MB / 0.5124 GB, free: 24.84 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003283/0.6696, allocations: 9.108 MB / 0.5213 GB, free: 12.19 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006523/0.6762, allocations: 10.96 MB / 0.532 GB, free: 14.26 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.618e-05/0.6762, allocations: 59.94 kB / 0.532 GB, free: 14.2 MB / 394.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.01288/0.6891, allocations: 8.978 MB / 0.5408 GB, free: 5.207 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.321e-05/0.6892, allocations: 87.28 kB / 0.5409 GB, free: 5.125 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001551/0.6894, allocations: 187.9 kB / 0.5411 GB, free: 4.941 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004191/0.6936, allocations: 2.073 MB / 0.5431 GB, free: 2.859 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/0.6976, allocations: 2.086 MB / 0.5451 GB, free: 0.7695 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009587/0.7072, allocations: 9.262 MB / 0.5542 GB, free: 7.152 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005385/0.7126, allocations: 0.6943 MB / 0.5548 GB, free: 6.457 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/0.7137, allocations: 0.5226 MB / 0.5554 GB, free: 5.938 MB / 410.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.00223/0.7159, allocations: 0.8799 MB / 0.5562 GB, free: 5.043 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/0.717, allocations: 0.6214 MB / 0.5568 GB, free: 4.418 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005231/0.7223, allocations: 3.312 MB / 0.5601 GB, free: 1.078 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/0.7223, allocations: 31.17 kB / 0.5601 GB, free: 1.051 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.7223, allocations: 12 kB / 0.5601 GB, free: 1.039 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.7223, allocations: 11.95 kB / 0.5601 GB, free: 1.027 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/0.7389, allocations: 10.34 MB / 0.5702 GB, free: 6.328 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/0.739, allocations: 16 kB / 0.5702 GB, free: 6.312 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.7401, allocations: 459.8 kB / 0.5707 GB, free: 5.863 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003578/0.7436, allocations: 1.684 MB / 0.5723 GB, free: 4.168 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002136/0.7439, allocations: 71.98 kB / 0.5724 GB, free: 4.098 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1429/0.8868, allocations: 8.966 MB / 0.5811 GB, free: 132.2 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.752e-05/0.8868, allocations: 32.19 kB / 0.5812 GB, free: 132.2 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007222/0.894, allocations: 5.007 MB / 0.5861 GB, free: 130.3 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.8954, allocations: 0.6157 MB / 0.5867 GB, free: 130.3 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006449/0.896, allocations: 68.28 kB / 0.5867 GB, free: 130.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/0.8976, allocations: 285.3 kB / 0.587 GB, free: 130.3 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00041/0.898, allocations: 245 kB / 0.5872 GB, free: 130.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.8982, allocations: 100.3 kB / 0.5873 GB, free: 130.3 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003174/0.9013, allocations: 2.574 MB / 0.5898 GB, free: 130.1 MB / 426.8 MB Notification: Performance of sort global known variables: time 2e-07/0.9013, allocations: 0 / 0.5898 GB, free: 130.1 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004863/0.9062, allocations: 1.882 MB / 0.5917 GB, free: 130.1 MB / 426.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.0005695/0.9068, allocations: 324 kB / 0.592 GB, free: 130 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005669/0.9124, allocations: 5.204 MB / 0.5971 GB, free: 129.2 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/0.9124, allocations: 3.719 kB / 0.5971 GB, free: 129.2 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.9141, allocations: 1.83 MB / 0.5989 GB, free: 128.6 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.9166, allocations: 0.8376 MB / 0.5997 GB, free: 128.5 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.9294, allocations: 13.3 MB / 0.6127 GB, free: 122.7 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.931, allocations: 2.143 MB / 0.6148 GB, free: 121.7 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003044/0.9341, allocations: 2.25 MB / 0.617 GB, free: 120.5 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006565/0.9347, allocations: 365.8 kB / 0.6173 GB, free: 120.1 MB / 426.8 MB Notification: Performance of SimCode: time 1.663e-06/0.9347, allocations: 0 / 0.6173 GB, free: 120.1 MB / 426.8 MB Notification: Performance of Templates: time 0.07371/1.008, allocations: 66.34 MB / 0.6821 GB, free: 56.78 MB / 426.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 -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.9808818800374866]