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.0009754/0.0009754, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001083/0.001083, allocations: 163.6 kB / 24.82 MB, free: 9.312 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 1.011/1.011, allocations: 177 MB / 205.1 MB, free: 5.484 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 2.395e-06/2.395e-06, allocations: 0 / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.666e-05/3.905e-05, allocations: 9.266 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01774/0.01778, allocations: 16.95 MB / 290.3 MB, free: 212 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1444/0.1622, allocations: 5.934 MB / 296.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.1638, allocations: 171.9 kB / 296.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005917/0.1698, allocations: 6.62 MB / 303 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.1736, allocations: 2.997 MB / 306 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.1766, allocations: 2.518 MB / 308.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007177/0.1838, allocations: 11.13 MB / 319.7 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004885/0.1886, allocations: 7.455 MB / 327.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005879/0.1945, allocations: 6.884 MB / 334 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003901/0.1984, allocations: 4.774 MB / 338.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007057/0.1991, allocations: 0.7383 MB / 339.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.2014, allocations: 1.877 MB / 341.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002358/0.2038, allocations: 4.115 MB / 345.5 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.2055, allocations: 2.583 MB / 348.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00598/0.2115, allocations: 8.426 MB / 356.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2115, allocations: 0 / 356.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2115, allocations: 0 / 356.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.587e-05/0.2115, allocations: 0 / 356.5 MB, free: 13.61 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.0095/0.221, allocations: 9.127 MB / 365.6 MB, free: 4.395 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2211, allocations: 11.98 kB / 365.6 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01914/0.2402, allocations: 4.675 MB / 370.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005035/0.2452, allocations: 4.431 MB / 374.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.2454, allocations: 439.7 kB / 375.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005853/0.246, allocations: 0.5781 MB / 375.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009946/0.256, allocations: 9.179 MB / 384.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/0.2561, allocations: 71.41 kB / 385 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004099/0.2565, allocations: 267.8 kB / 385.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002214/0.2587, allocations: 2.32 MB / 387.6 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00687/0.2656, allocations: 4.175 MB / 391.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.276/0.5416, allocations: 65.08 MB / 456.8 MB, free: 65.62 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008281/0.5498, allocations: 3.286 MB / 460.1 MB, free: 65.46 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.5509, allocations: 0.843 MB / 461 MB, free: 65.41 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008043/0.5589, allocations: 7.345 MB / 468.3 MB, free: 64.15 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.5589, allocations: 61.39 kB / 468.4 MB, free: 64.11 MB / 378.8 MB Notification: Performance of pre-optimization done (n=227): time 3.897e-06/0.5589, allocations: 0 / 468.4 MB, free: 64.11 MB / 378.8 MB Notification: Performance of matching and sorting (n=276): time 0.04822/0.6072, allocations: 21.22 MB / 489.6 MB, free: 55.06 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.6072, allocations: 364.1 kB / 489.9 MB, free: 54.62 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/0.6114, allocations: 5.615 MB / 495.6 MB, free: 50.11 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.6116, allocations: 69.7 kB / 495.6 MB, free: 50.04 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.6132, allocations: 5.374 MB / 0.4893 GB, free: 44.99 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000549/0.6138, allocations: 1.14 MB / 0.4904 GB, free: 43.84 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001366/0.6151, allocations: 1.993 MB / 0.4923 GB, free: 41.83 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.747e-05/0.6152, allocations: 476.8 kB / 0.4928 GB, free: 41.36 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.6164, allocations: 0.9702 MB / 0.4937 GB, free: 40.38 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003003/0.6194, allocations: 9.044 MB / 0.5026 GB, free: 27.8 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004777/0.6241, allocations: 10.65 MB / 0.5129 GB, free: 14.19 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.804e-05/0.6242, allocations: 55.94 kB / 0.513 GB, free: 14.13 MB / 378.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.00792/0.6321, allocations: 7.864 MB / 0.5207 GB, free: 6.254 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/0.6322, allocations: 84 kB / 0.5208 GB, free: 6.172 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-05/0.6322, allocations: 184 kB / 0.5209 GB, free: 5.992 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002968/0.6352, allocations: 1.451 MB / 0.5224 GB, free: 4.531 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/0.6379, allocations: 1.992 MB / 0.5243 GB, free: 2.535 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007156/0.6451, allocations: 8.568 MB / 0.5327 GB, free: 9.629 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/0.6486, allocations: 395.6 kB / 0.533 GB, free: 9.242 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004158/0.649, allocations: 456 kB / 0.5335 GB, free: 8.797 MB / 394.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.001903/0.6509, allocations: 0.8876 MB / 0.5343 GB, free: 7.898 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007128/0.6516, allocations: 0.6136 MB / 0.5349 GB, free: 7.281 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/0.6555, allocations: 2.582 MB / 0.5375 GB, free: 4.668 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/0.6555, allocations: 28 kB / 0.5375 GB, free: 4.641 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.6556, allocations: 8 kB / 0.5375 GB, free: 4.633 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.6556, allocations: 15.89 kB / 0.5375 GB, free: 4.617 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.6693, allocations: 9.601 MB / 0.5469 GB, free: 10.61 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.6693, allocations: 16 kB / 0.5469 GB, free: 10.59 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007651/0.6701, allocations: 391.5 kB / 0.5473 GB, free: 10.21 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002571/0.6727, allocations: 1.177 MB / 0.5484 GB, free: 9.016 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.6728, allocations: 71.98 kB / 0.5485 GB, free: 8.945 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006396/0.6792, allocations: 8.403 MB / 0.5567 GB, free: 208 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/0.6792, allocations: 31.81 kB / 0.5567 GB, free: 176 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004869/0.6841, allocations: 4.351 MB / 0.561 GB, free: 11.37 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007256/0.6848, allocations: 0.5781 MB / 0.5616 GB, free: 10.79 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/0.6851, allocations: 76.22 kB / 0.5616 GB, free: 10.71 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6863, allocations: 75.98 kB / 0.5617 GB, free: 10.64 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.6866, allocations: 244.5 kB / 0.5619 GB, free: 10.4 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.6867, allocations: 83.98 kB / 0.562 GB, free: 10.32 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001969/0.6886, allocations: 2.366 MB / 0.5643 GB, free: 7.984 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6886, allocations: 0 / 0.5643 GB, free: 7.984 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004569/0.6932, allocations: 1.886 MB / 0.5662 GB, free: 6.098 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.0004784/0.6937, allocations: 322.2 kB / 0.5665 GB, free: 5.773 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004741/0.6984, allocations: 4.771 MB / 0.5711 GB, free: 0.9609 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6984, allocations: 3.938 kB / 0.5711 GB, free: 0.957 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.6998, allocations: 1.638 MB / 0.5727 GB, free: 15.27 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.7021, allocations: 0.8448 MB / 0.5736 GB, free: 14.46 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.7148, allocations: 13.21 MB / 0.5865 GB, free: 0.8086 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1187/0.8335, allocations: 2.134 MB / 0.5885 GB, free: 153.8 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003205/0.8367, allocations: 0.7786 MB / 0.5893 GB, free: 153.8 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/0.8386, allocations: 0.9637 MB / 0.5902 GB, free: 153.7 MB / 442.8 MB Notification: Performance of SimCode: time 1.323e-06/0.8386, allocations: 0 / 0.5902 GB, free: 153.7 MB / 442.8 MB Notification: Performance of Templates: time 0.0895/0.9281, allocations: 69.17 MB / 0.6578 GB, free: 107.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 -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.878921792842448]