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.001014/0.001014, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.00103/0.00103, allocations: 166.9 kB / 24.99 MB, free: 8.246 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.9565/0.9565, allocations: 177 MB / 205.2 MB, free: 5.617 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.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.822e-05, allocations: 2.312 kB / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01372/0.01375, allocations: 17.47 MB / 290.5 MB, free: 236 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.118/0.1317, allocations: 5.955 MB / 296.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.1341, allocations: 170.9 kB / 296.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00655/0.1406, allocations: 6.739 MB / 303.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006062/0.1467, allocations: 2.986 MB / 306.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004142/0.1508, allocations: 2.528 MB / 308.8 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01066/0.1615, allocations: 11.13 MB / 320 MB, free: 1.832 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007278/0.1688, allocations: 7.458 MB / 327.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00565/0.1744, allocations: 4.958 MB / 332.4 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004711/0.1791, allocations: 4.82 MB / 337.2 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.1803, allocations: 0.7383 MB / 337.9 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.1829, allocations: 1.873 MB / 339.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002758/0.1856, allocations: 4.107 MB / 343.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002798/0.1884, allocations: 2.579 MB / 346.5 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008604/0.197, allocations: 8.406 MB / 354.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1971, allocations: 0 / 354.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1971, allocations: 4 kB / 354.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003333/0.1974, allocations: 0 / 354.9 MB, free: 15.68 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.0132/0.2106, allocations: 9.705 MB / 364.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2106, allocations: 11.98 kB / 364.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02338/0.234, allocations: 5.757 MB / 370.4 MB, free: 116 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009432/0.2434, allocations: 5.747 MB / 376.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.2437, allocations: 435.7 kB / 376.6 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/0.2447, allocations: 0.5898 MB / 377.1 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.2591, allocations: 10.54 MB / 387.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.2592, allocations: 79.41 kB / 387.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004806/0.2597, allocations: 267.8 kB / 388 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002587/0.2623, allocations: 2.655 MB / 390.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.2742, allocations: 5.975 MB / 396.7 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2739/0.5481, allocations: 65 MB / 461.7 MB, free: 70.56 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/0.5607, allocations: 5.479 MB / 467.1 MB, free: 70.39 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.5626, allocations: 1.516 MB / 468.7 MB, free: 70.34 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01201/0.5746, allocations: 11.19 MB / 479.9 MB, free: 66.27 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.5746, allocations: 67.84 kB / 479.9 MB, free: 66.21 MB / 378.8 MB Notification: Performance of pre-optimization done (n=281): time 5.07e-06/0.5746, allocations: 0 / 479.9 MB, free: 66.21 MB / 378.8 MB Notification: Performance of matching and sorting (n=374): time 0.1148/0.6895, allocations: 57.39 MB / 0.5247 GB, free: 14.55 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.209e-05/0.6896, allocations: 376 kB / 0.5251 GB, free: 14.1 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004907/0.6945, allocations: 5.487 MB / 0.5304 GB, free: 8.824 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006322/0.6951, allocations: 81.7 kB / 0.5305 GB, free: 8.738 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001789/0.6969, allocations: 5.159 MB / 0.5355 GB, free: 3.875 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001227/0.6981, allocations: 1.493 MB / 0.537 GB, free: 2.402 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001785/0.6999, allocations: 2.035 MB / 0.539 GB, free: 360 kB / 378.8 MB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.7, allocations: 476.8 kB / 0.5394 GB, free: 15.88 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/0.7029, allocations: 1.943 MB / 0.5413 GB, free: 13.93 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005988/0.7089, allocations: 9.553 MB / 0.5507 GB, free: 0.9961 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/0.72, allocations: 12.33 MB / 0.5627 GB, free: 1.324 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001217/0.7201, allocations: 55.98 kB / 0.5628 GB, free: 1.27 MB / 410.8 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.02481/0.7449, allocations: 13.84 MB / 0.5763 GB, free: 3.383 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.745, allocations: 83.94 kB / 0.5764 GB, free: 3.301 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/0.7452, allocations: 172 kB / 0.5765 GB, free: 3.133 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1375/0.8827, allocations: 5.95 MB / 0.5823 GB, free: 140 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005494/0.8882, allocations: 2.195 MB / 0.5845 GB, free: 140 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0206/0.9088, allocations: 15.79 MB / 0.5999 GB, free: 134.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006579/0.9154, allocations: 0.8718 MB / 0.6008 GB, free: 134.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/0.9166, allocations: 0.5271 MB / 0.6013 GB, free: 134.3 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.002802/0.9194, allocations: 0.887 MB / 0.6021 GB, free: 134 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/0.9208, allocations: 0.6626 MB / 0.6028 GB, free: 134 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/0.9359, allocations: 9.054 MB / 0.6116 GB, free: 133.3 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.173e-05/0.936, allocations: 50 kB / 0.6117 GB, free: 133.3 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-05/0.936, allocations: 18.53 kB / 0.6117 GB, free: 133.3 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-05/0.9361, allocations: 18.17 kB / 0.6117 GB, free: 133.3 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02784/0.9639, allocations: 19.11 MB / 0.6304 GB, free: 119.1 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/0.9639, allocations: 4 kB / 0.6304 GB, free: 119.1 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/0.9658, allocations: 0.6044 MB / 0.631 GB, free: 118.4 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01162/0.9774, allocations: 5.532 MB / 0.6364 GB, free: 113 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005414/0.978, allocations: 71.92 kB / 0.6364 GB, free: 112.9 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/0.9949, allocations: 14.58 MB / 0.6507 GB, free: 98.21 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9949, allocations: 4 kB / 0.6507 GB, free: 98.2 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02158/1.016, allocations: 10.85 MB / 0.6613 GB, free: 87.49 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/1.018, allocations: 0.6028 MB / 0.6619 GB, free: 86.89 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/1.02, allocations: 67.14 kB / 0.6619 GB, free: 86.83 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003371/1.023, allocations: 0.542 MB / 0.6625 GB, free: 86.29 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/1.024, allocations: 258.6 kB / 0.6627 GB, free: 86.03 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003418/1.024, allocations: 92 kB / 0.6628 GB, free: 85.94 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003693/1.028, allocations: 2.52 MB / 0.6652 GB, free: 83.45 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.11e-07/1.028, allocations: 0 / 0.6652 GB, free: 83.45 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.007753/1.036, allocations: 2.608 MB / 0.6678 GB, free: 80.86 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.0008415/1.037, allocations: 310.6 kB / 0.6681 GB, free: 80.57 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01209/1.049, allocations: 7.838 MB / 0.6757 GB, free: 72.68 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.049, allocations: 1.969 kB / 0.6757 GB, free: 72.68 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005402/1.054, allocations: 3.524 MB / 0.6792 GB, free: 69.09 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004225/1.058, allocations: 0.8336 MB / 0.68 GB, free: 68.3 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/1.077, allocations: 14.98 MB / 0.6946 GB, free: 53.21 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001728/1.078, allocations: 2.235 MB / 0.6968 GB, free: 50.94 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003577/1.082, allocations: 2.307 MB / 0.6991 GB, free: 48.64 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/1.083, allocations: 376.4 kB / 0.6994 GB, free: 48.27 MB / 426.8 MB Notification: Performance of SimCode: time 2.154e-06/1.083, allocations: 0 / 0.6994 GB, free: 48.27 MB / 426.8 MB Notification: Performance of Templates: time 0.2236/1.307, allocations: 109.9 MB / 0.8067 GB, free: 82.12 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: 5.701314646052197]