Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001276/0.001276, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001405/0.001405, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.419/1.419, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2247, allocations: 53.31 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02031/0.245, allocations: 18.15 MB / 450.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.2575, allocations: 6.08 MB / 456.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.2604, allocations: 143.6 kB / 456.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.2721, allocations: 6.347 MB / 462.8 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007363/0.2795, allocations: 2.883 MB / 465.7 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.2844, allocations: 2.296 MB / 468 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01338/0.2978, allocations: 9.695 MB / 477.6 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007765/0.3056, allocations: 5.823 MB / 483.5 MB, free: 3.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005363/0.3109, allocations: 3.221 MB / 486.7 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006897/0.3178, allocations: 4.46 MB / 491.1 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00169/0.3195, allocations: 0.7148 MB / 491.9 MB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.3232, allocations: 1.943 MB / 493.8 MB, free: 9.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004115/0.3273, allocations: 3.888 MB / 497.7 MB, free: 5.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006193/0.3335, allocations: 4.13 MB / 0.4901 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01616/0.3497, allocations: 13.22 MB / 0.503 GB, free: 4.062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3497, allocations: 0 / 0.503 GB, free: 4.062 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3497, allocations: 0 / 0.503 GB, free: 4.062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003157/0.35, allocations: 0 / 0.503 GB, free: 4.062 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.03058/0.3806, allocations: 9.145 MB / 0.5119 GB, free: 10.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.3806, allocations: 12.03 kB / 0.5119 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05784/0.4384, allocations: 4.892 MB / 0.5167 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01867/0.4571, allocations: 6.414 MB / 0.523 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004845/0.4576, allocations: 431.7 kB / 0.5234 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002318/0.4599, allocations: 0.5818 MB / 0.5239 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3961/0.856, allocations: 17.04 MB / 0.5406 GB, free: 90.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002642/0.8562, allocations: 75.33 kB / 0.5407 GB, free: 90.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00083/0.8571, allocations: 268.3 kB / 0.5409 GB, free: 90.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004186/0.8612, allocations: 2.666 MB / 0.5435 GB, free: 89.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/0.8872, allocations: 14.78 MB / 0.5579 GB, free: 83.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07004/0.9573, allocations: 64.35 MB / 0.6208 GB, free: 19.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02159/0.9789, allocations: 8.487 MB / 0.6291 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004947/0.9838, allocations: 4.714 MB / 0.6337 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03379/1.018, allocations: 18.65 MB / 0.6519 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.697e-05/1.018, allocations: 68.5 kB / 0.652 GB, free: 3.711 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 6.001e-06/1.018, allocations: 0 / 0.652 GB, free: 3.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.2816/1.299, allocations: 74.27 MB / 0.7245 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002194/1.299, allocations: 376.6 kB / 0.7249 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009528/1.309, allocations: 6.374 MB / 0.7311 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009548/1.31, allocations: 81.7 kB / 0.7312 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004063/1.314, allocations: 4.928 MB / 0.736 GB, free: 14.01 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002145/1.316, allocations: 1.446 MB / 0.7374 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003331/1.319, allocations: 1.999 MB / 0.7393 GB, free: 10.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.32, allocations: 301.1 kB / 0.7396 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009008/1.329, allocations: 6 MB / 0.7455 GB, free: 4.238 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2051/1.534, allocations: 11.01 MB / 0.7562 GB, free: 183.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01908/1.553, allocations: 17.96 MB / 0.7738 GB, free: 170.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001818/1.553, allocations: 48.94 kB / 0.7738 GB, free: 170.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04327/1.596, allocations: 23.29 MB / 0.7966 GB, free: 161.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.596, allocations: 80 kB / 0.7966 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/1.597, allocations: 172 kB / 0.7968 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02146/1.618, allocations: 7.442 MB / 0.8041 GB, free: 154.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007526/1.626, allocations: 2.187 MB / 0.8062 GB, free: 152.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04303/1.669, allocations: 38.12 MB / 0.8434 GB, free: 114.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008415/1.677, allocations: 0.7435 MB / 0.8442 GB, free: 113.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/1.678, allocations: 0.5273 MB / 0.8447 GB, free: 113.1 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.005433/1.684, allocations: 3.428 MB / 0.848 GB, free: 109.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/1.685, allocations: 0.6054 MB / 0.8486 GB, free: 109.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03011/1.715, allocations: 16.88 MB / 0.8651 GB, free: 92.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-05/1.715, allocations: 19.94 kB / 0.8651 GB, free: 92.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/1.715, allocations: 3.5 kB / 0.8651 GB, free: 92.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.717, allocations: 0.6587 MB / 0.8658 GB, free: 91.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/1.718, allocations: 59.94 kB / 0.8658 GB, free: 91.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004595/1.723, allocations: 451.2 kB / 0.8662 GB, free: 91.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001079/1.724, allocations: 321.9 kB / 0.8666 GB, free: 91.16 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02626/1.75, allocations: 15.43 MB / 0.8816 GB, free: 75.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01687/1.767, allocations: 15.95 MB / 0.8972 GB, free: 59.76 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004948/1.772, allocations: 4.818 MB / 0.9019 GB, free: 54.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00521/1.777, allocations: 4.04 MB / 0.9058 GB, free: 50.89 MB / 0.545 GB Notification: Performance of Backend: time 3.61e-07/1.777, allocations: 0 / 0.9058 GB, free: 50.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01788/1.795, allocations: 9.821 MB / 0.9154 GB, free: 41.11 MB / 0.545 GB Notification: Performance of SimCode: time 0.02413/1.819, allocations: 16.66 MB / 0.9317 GB, free: 24.41 MB / 0.545 GB Notification: Performance of Templates: time 0.3711/2.19, allocations: 127.7 MB / 1.056 GB, free: 94.98 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.89552012598142]