Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003319/0.003319, allocations: 163.3 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8467/0.8467, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.359e-05, allocations: 4.531 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01063/0.01065, allocations: 15.63 MB / 341.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009279/0.01993, allocations: 5.857 MB / 347.3 MB, free: 9.863 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.02185, allocations: 171.1 kB / 347.5 MB, free: 9.695 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005366/0.02722, allocations: 6.39 MB / 353.9 MB, free: 3.285 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004311/0.03153, allocations: 3.001 MB / 356.9 MB, free: 280 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.03417, allocations: 2.452 MB / 359.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008383/0.04255, allocations: 11.13 MB / 370.4 MB, free: 2.676 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005504/0.04805, allocations: 7.242 MB / 377.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004805/0.05286, allocations: 4.94 MB / 382.6 MB, free: 6.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003933/0.05679, allocations: 4.649 MB / 387.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008692/0.05766, allocations: 0.7422 MB / 388 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.05987, allocations: 1.877 MB / 389.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.06221, allocations: 4.068 MB / 394 MB, free: 11.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.06426, allocations: 2.567 MB / 396.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009032/0.07329, allocations: 13.52 MB / 410 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.07329, allocations: 3.938 kB / 410.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.07329, allocations: 0 / 410.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002032/0.0735, allocations: 4 kB / 410.1 MB, free: 10.89 MB / 378.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.01175/0.08525, allocations: 9.202 MB / 419.3 MB, free: 1.613 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.0853, allocations: 12.03 kB / 419.3 MB, free: 1.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02031/0.1056, allocations: 5.052 MB / 424.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.1158, allocations: 6.287 MB / 430.6 MB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.116, allocations: 435.6 kB / 431 MB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001579/0.1176, allocations: 0.5821 MB / 431.6 MB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02172/0.1393, allocations: 17.3 MB / 448.9 MB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001621/0.1395, allocations: 79.41 kB / 449 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005128/0.14, allocations: 267.8 kB / 449.3 MB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2877/0.4277, allocations: 2.656 MB / 451.9 MB, free: 106.1 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/0.4464, allocations: 14.76 MB / 466.7 MB, free: 100.2 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0419/0.4883, allocations: 60.01 MB / 0.5143 GB, free: 39.81 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.4993, allocations: 8.278 MB / 0.5224 GB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002869/0.5021, allocations: 4.733 MB / 0.527 GB, free: 26.82 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01441/0.5166, allocations: 17.48 MB / 0.5441 GB, free: 9.52 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.5166, allocations: 64.5 kB / 0.5442 GB, free: 9.449 MB / 410.8 MB Notification: Performance of pre-optimization done (n=281): time 4.238e-06/0.5166, allocations: 3.969 kB / 0.5442 GB, free: 9.449 MB / 410.8 MB Notification: Performance of matching and sorting (n=374): time 0.2959/0.8125, allocations: 76.7 MB / 0.6191 GB, free: 158.2 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.8126, allocations: 379.8 kB / 0.6194 GB, free: 157.8 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005457/0.8181, allocations: 6.456 MB / 0.6257 GB, free: 156.6 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007739/0.8188, allocations: 87.39 kB / 0.6258 GB, free: 156.5 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001448/0.8203, allocations: 4.924 MB / 0.6306 GB, free: 153.8 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009509/0.8212, allocations: 1.427 MB / 0.632 GB, free: 152.8 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001876/0.8231, allocations: 1.96 MB / 0.6339 GB, free: 151.8 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 2.881e-05/0.8231, allocations: 301.1 kB / 0.6342 GB, free: 151.6 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004313/0.8275, allocations: 5.996 MB / 0.6401 GB, free: 149.3 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005475/0.8329, allocations: 11.22 MB / 0.651 GB, free: 140.1 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/0.8441, allocations: 17.96 MB / 0.6686 GB, free: 122.6 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.873e-05/0.8441, allocations: 48 kB / 0.6686 GB, free: 122.6 MB / 474.8 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.02315/0.8673, allocations: 23.25 MB / 0.6913 GB, free: 99.28 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/0.8673, allocations: 80 kB / 0.6914 GB, free: 99.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/0.8675, allocations: 176.1 kB / 0.6916 GB, free: 99.03 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/0.8782, allocations: 7.431 MB / 0.6988 GB, free: 91.59 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003652/0.8819, allocations: 2.191 MB / 0.701 GB, free: 89.39 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02733/0.9092, allocations: 37.49 MB / 0.7376 GB, free: 51.61 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006002/0.9152, allocations: 0.8653 MB / 0.7384 GB, free: 50.74 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005944/0.9158, allocations: 0.5234 MB / 0.7389 GB, free: 50.22 MB / 474.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.004035/0.9198, allocations: 3.424 MB / 0.7423 GB, free: 46.79 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008358/0.9207, allocations: 0.5627 MB / 0.7428 GB, free: 46.22 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/0.9377, allocations: 16.84 MB / 0.7593 GB, free: 29.31 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.603e-05/0.9378, allocations: 51.98 kB / 0.7593 GB, free: 29.26 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.273e-05/0.9378, allocations: 24 kB / 0.7594 GB, free: 29.24 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.9378, allocations: 19.03 kB / 0.7594 GB, free: 29.22 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1857/1.123, allocations: 29.65 MB / 0.7883 GB, free: 139.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/1.124, allocations: 3 kB / 0.7883 GB, free: 139.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/1.126, allocations: 0.6143 MB / 0.7889 GB, free: 139.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/1.136, allocations: 6.998 MB / 0.7958 GB, free: 139.2 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004678/1.136, allocations: 65.23 kB / 0.7958 GB, free: 139.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02564/1.162, allocations: 35.71 MB / 0.8307 GB, free: 124 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.162, allocations: 6.656 kB / 0.8307 GB, free: 124 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/1.184, allocations: 24.5 MB / 0.8546 GB, free: 100.7 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/1.186, allocations: 0.6166 MB / 0.8552 GB, free: 100.4 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005519/1.186, allocations: 63.94 kB / 0.8553 GB, free: 100.3 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/1.188, allocations: 0.5397 MB / 0.8558 GB, free: 99.78 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007008/1.189, allocations: 262.5 kB / 0.8561 GB, free: 99.52 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/1.189, allocations: 98.48 kB / 0.8562 GB, free: 99.43 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003247/1.193, allocations: 3.913 MB / 0.86 GB, free: 95.54 MB / 474.8 MB Notification: Performance of sort global known variables: time 7.1e-08/1.193, allocations: 2.75 kB / 0.86 GB, free: 95.54 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005828/1.198, allocations: 2.606 MB / 0.8625 GB, free: 92.95 MB / 474.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.0006641/1.199, allocations: 311.3 kB / 0.8628 GB, free: 92.67 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01159/1.211, allocations: 14.19 MB / 0.8767 GB, free: 78.54 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.211, allocations: 4 kB / 0.8767 GB, free: 78.54 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005068/1.216, allocations: 6.158 MB / 0.8827 GB, free: 72.39 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003957/1.22, allocations: 0.8113 MB / 0.8835 GB, free: 71.62 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/1.239, allocations: 20.9 MB / 0.9039 GB, free: 50.71 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004664/1.243, allocations: 4.736 MB / 0.9085 GB, free: 45.94 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/1.245, allocations: 432.4 kB / 0.9089 GB, free: 45.52 MB / 474.8 MB Notification: Performance of SimCode: time 1.202e-06/1.245, allocations: 0 / 0.9089 GB, free: 45.52 MB / 474.8 MB Notification: Performance of Templates: time 0.2956/1.541, allocations: 212.4 MB / 1.116 GB, free: 16.53 MB / 490.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 13.087153320200741]