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.00184/0.00184, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002157/0.002157, allocations: 207.4 kB / 23.73 MB, free: 4.391 MB / 14.72 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.494/1.494, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 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 0.002299/0.002299, allocations: 63.84 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.276, allocations: 53.41 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01927/0.2953, allocations: 15.6 MB / 447.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.3091, allocations: 5.843 MB / 453.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.3127, allocations: 167.1 kB / 453.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01235/0.3251, allocations: 6.079 MB / 459.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009047/0.3341, allocations: 2.899 MB / 462.2 MB, free: 7.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006622/0.3407, allocations: 2.257 MB / 464.5 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01478/0.3555, allocations: 9.712 MB / 474.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/0.3661, allocations: 6.192 MB / 480.4 MB, free: 5.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00639/0.3725, allocations: 3.253 MB / 483.6 MB, free: 2.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008129/0.3806, allocations: 4.159 MB / 487.8 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002713/0.3833, allocations: 0.7148 MB / 488.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005409/0.3887, allocations: 1.795 MB / 490.3 MB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005984/0.3947, allocations: 3.877 MB / 494.2 MB, free: 7.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008275/0.403, allocations: 3.143 MB / 497.3 MB, free: 4.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02065/0.4236, allocations: 13.29 MB / 0.4986 GB, free: 7.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4237, allocations: 0 / 0.4986 GB, free: 7.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4237, allocations: 0 / 0.4986 GB, free: 7.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005551/0.4242, allocations: 0 / 0.4986 GB, free: 7.23 MB / 414.1 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.02864/0.4529, allocations: 9.07 MB / 0.5075 GB, free: 14.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.4529, allocations: 15.98 kB / 0.5075 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05094/0.5038, allocations: 4.895 MB / 0.5123 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0209/0.5247, allocations: 6.315 MB / 0.5185 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005525/0.5253, allocations: 435.7 kB / 0.5189 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002923/0.5282, allocations: 0.5857 MB / 0.5194 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4766/1.005, allocations: 17.27 MB / 0.5363 GB, free: 91.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000386/1.005, allocations: 81.89 kB / 0.5364 GB, free: 91.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/1.006, allocations: 268.2 kB / 0.5366 GB, free: 91.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006241/1.013, allocations: 2.658 MB / 0.5392 GB, free: 90.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02983/1.042, allocations: 14.74 MB / 0.5536 GB, free: 85.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07575/1.118, allocations: 59.35 MB / 0.6116 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02197/1.14, allocations: 8.036 MB / 0.6194 GB, free: 17.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005688/1.146, allocations: 4.731 MB / 0.6241 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03399/1.18, allocations: 16.94 MB / 0.6406 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.373e-05/1.18, allocations: 68.5 kB / 0.6407 GB, free: 11.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 8.576e-06/1.18, allocations: 0 / 0.6407 GB, free: 11.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.2834/1.463, allocations: 74.33 MB / 0.7133 GB, free: 1.957 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002438/1.464, allocations: 376.6 kB / 0.7136 GB, free: 1.508 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/1.475, allocations: 6.115 MB / 0.7196 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001034/1.476, allocations: 81.7 kB / 0.7197 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00446/1.48, allocations: 4.968 MB / 0.7245 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002454/1.483, allocations: 1.442 MB / 0.7259 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005387/1.488, allocations: 1.984 MB / 0.7279 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.488, allocations: 309.1 kB / 0.7282 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009724/1.498, allocations: 5.988 MB / 0.734 GB, free: 12.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2356/1.734, allocations: 11.22 MB / 0.745 GB, free: 182.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01965/1.753, allocations: 17.97 MB / 0.7625 GB, free: 171.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001999/1.754, allocations: 49.53 kB / 0.7626 GB, free: 171.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04601/1.8, allocations: 23.25 MB / 0.7853 GB, free: 161.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002009/1.8, allocations: 78.19 kB / 0.7853 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004686/1.8, allocations: 172 kB / 0.7855 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0214/1.822, allocations: 7.438 MB / 0.7928 GB, free: 155.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007418/1.829, allocations: 2.187 MB / 0.7949 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0434/1.873, allocations: 37.31 MB / 0.8313 GB, free: 116.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009904/1.882, allocations: 0.737 MB / 0.8321 GB, free: 115.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001825/1.884, allocations: 0.534 MB / 0.8326 GB, free: 114.8 MB / 0.545 GB 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.00645/1.891, allocations: 3.43 MB / 0.8359 GB, free: 111.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/1.892, allocations: 0.5647 MB / 0.8365 GB, free: 111.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03078/1.923, allocations: 16.84 MB / 0.8529 GB, free: 94.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.085e-05/1.923, allocations: 48 kB / 0.853 GB, free: 94.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.492e-05/1.923, allocations: 19.98 kB / 0.853 GB, free: 94.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.207e-05/1.923, allocations: 15.94 kB / 0.853 GB, free: 94.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06022/1.983, allocations: 29.4 MB / 0.8817 GB, free: 64.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-05/1.983, allocations: 4.656 kB / 0.8817 GB, free: 64.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003499/1.987, allocations: 0.6086 MB / 0.8823 GB, free: 64.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02048/2.007, allocations: 7.004 MB / 0.8892 GB, free: 57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001465/2.009, allocations: 64 kB / 0.8892 GB, free: 56.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04525/2.054, allocations: 35.52 MB / 0.9239 GB, free: 21.33 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/2.054, allocations: 11.14 kB / 0.9239 GB, free: 21.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04528/2.099, allocations: 24.51 MB / 0.9479 GB, free: 12.75 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2681/2.368, allocations: 0.5261 MB / 0.9484 GB, free: 191.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002312/2.37, allocations: 65.47 kB / 0.9484 GB, free: 191.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005774/2.376, allocations: 441.8 kB / 0.9488 GB, free: 191.2 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001479/2.377, allocations: 265.9 kB / 0.9491 GB, free: 191.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004074/2.378, allocations: 93.06 kB / 0.9492 GB, free: 191.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006118/2.384, allocations: 3.657 MB / 0.9528 GB, free: 191.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9e-08/2.384, allocations: 0 / 0.9528 GB, free: 191.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009273/2.393, allocations: 2.275 MB / 0.955 GB, free: 191.1 MB / 0.5607 GB 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.000972/2.394, allocations: 292.7 kB / 0.9553 GB, free: 191 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01811/2.412, allocations: 14.2 MB / 0.9691 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/2.412, allocations: 3.875 kB / 0.9691 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008517/2.421, allocations: 6.154 MB / 0.9751 GB, free: 184.7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/2.425, allocations: 0.8065 MB / 0.9759 GB, free: 184.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/2.452, allocations: 20.25 MB / 0.9957 GB, free: 168.9 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005451/2.458, allocations: 4.785 MB / 1 GB, free: 165.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006719/2.464, allocations: 2.975 MB / 1.003 GB, free: 163.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/2.466, allocations: 371.1 kB / 1.004 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.373e-06/2.466, allocations: 0 / 1.004 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.1372/2.603, allocations: 112.7 MB / 1.114 GB, free: 52.47 MB / 0.5607 GB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] 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.864463549107313]