Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.001287/0.001287, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001473/0.001473, allocations: 213 kB / 23.73 MB, free: 4.164 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.502/1.502, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 59.91 kB / 378.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2795, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01793/0.2974, allocations: 13.74 MB / 445.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.3098, allocations: 4.952 MB / 450.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003365/0.3132, allocations: 135.2 kB / 450.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.3236, allocations: 4.31 MB / 454.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008649/0.3322, allocations: 2.587 MB / 457.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.3361, allocations: 1.158 MB / 458.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.3496, allocations: 8.12 MB / 466.6 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007882/0.3575, allocations: 4.263 MB / 470.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00588/0.3633, allocations: 2.512 MB / 473.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006292/0.3696, allocations: 3.399 MB / 476.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001747/0.3714, allocations: 0.5039 MB / 477.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003769/0.3751, allocations: 1.401 MB / 478.7 MB, free: 7.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004288/0.3794, allocations: 3.019 MB / 481.7 MB, free: 4.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005701/0.3851, allocations: 2.509 MB / 484.2 MB, free: 1.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01697/0.4021, allocations: 10.4 MB / 494.6 MB, free: 7.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4021, allocations: 0 / 494.6 MB, free: 7.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4021, allocations: 0 / 494.6 MB, free: 7.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004457/0.4026, allocations: 0 / 494.6 MB, free: 7.238 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.02376/0.4263, allocations: 7.753 MB / 0.4906 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.4264, allocations: 11.98 kB / 0.4906 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0166/0.443, allocations: 3.331 MB / 0.4939 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/0.4567, allocations: 4.696 MB / 0.4985 GB, free: 7.273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.4571, allocations: 342 kB / 0.4988 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00221/0.4593, allocations: 467.7 kB / 0.4992 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03325/0.4926, allocations: 14.64 MB / 0.5135 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003448/0.4929, allocations: 75.41 kB / 0.5136 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001718/0.4947, allocations: 219.8 kB / 0.5138 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006132/0.5008, allocations: 2.828 MB / 0.5166 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02988/0.5307, allocations: 13.16 MB / 0.5294 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2952/0.8259, allocations: 53.89 MB / 0.5821 GB, free: 57.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01647/0.8423, allocations: 6.929 MB / 0.5888 GB, free: 50.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005419/0.8477, allocations: 4.593 MB / 0.5933 GB, free: 46.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02119/0.8689, allocations: 11.45 MB / 0.6045 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.869, allocations: 75.83 kB / 0.6046 GB, free: 34.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 7.153e-06/0.869, allocations: 3.938 kB / 0.6046 GB, free: 34.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 2.179/3.048, allocations: 411.5 MB / 1.006 GB, free: 155.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/3.048, allocations: 265.7 kB / 1.007 GB, free: 155 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005395/3.053, allocations: 4.967 MB / 1.012 GB, free: 150.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001691/3.055, allocations: 113.7 kB / 1.012 GB, free: 150.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001755/3.057, allocations: 4.117 MB / 1.016 GB, free: 147 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002633/3.06, allocations: 2.106 MB / 1.018 GB, free: 145 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004428/3.064, allocations: 2.182 MB / 1.02 GB, free: 142.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.419e-05/3.064, allocations: 301.1 kB / 1.02 GB, free: 142.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01413/3.078, allocations: 11.07 MB / 1.031 GB, free: 131.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01706/3.095, allocations: 15.31 MB / 1.046 GB, free: 114.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03213/3.127, allocations: 27.45 MB / 1.073 GB, free: 84.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001809/3.128, allocations: 40 kB / 1.073 GB, free: 84.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5804/3.708, allocations: 140.8 MB / 1.21 GB, free: 142.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.563e-05/3.708, allocations: 65.97 kB / 1.21 GB, free: 142.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/3.708, allocations: 140 kB / 1.21 GB, free: 142.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07711/3.785, allocations: 34.68 MB / 1.244 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004999/3.79, allocations: 1.57 MB / 1.246 GB, free: 106.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5515/4.342, allocations: 200.9 MB / 1.442 GB, free: 109.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0145/4.356, allocations: 1.73 MB / 1.444 GB, free: 108.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003127/4.359, allocations: 0.5367 MB / 1.444 GB, free: 107.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 833 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,164,40.5%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.008216/4.368, allocations: 3.095 MB / 1.447 GB, free: 105.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002721/4.37, allocations: 0.5488 MB / 1.448 GB, free: 104.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6383/5.009, allocations: 136.3 MB / 1.581 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.343e-05/5.009, allocations: 58.53 kB / 1.581 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001433/5.009, allocations: 64.28 kB / 1.581 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001125/5.009, allocations: 25.98 kB / 1.581 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6271/5.636, allocations: 201.6 MB / 1.778 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.193e-05/5.636, allocations: 9.5 kB / 1.778 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/5.638, allocations: 326.8 kB / 1.778 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07217/5.71, allocations: 33.42 MB / 1.811 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002138/5.712, allocations: 107.9 kB / 1.811 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.485/6.197, allocations: 183.6 MB / 1.99 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/6.197, allocations: 12.59 kB / 1.99 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.337/6.534, allocations: 152.2 MB / 2.139 GB, free: 44.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/6.536, allocations: 0.5142 MB / 2.14 GB, free: 44.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002537/6.538, allocations: 99.94 kB / 2.14 GB, free: 44.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009328/6.547, allocations: 1.486 MB / 2.141 GB, free: 42.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003664/6.551, allocations: 0.5183 MB / 2.142 GB, free: 42.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009492/6.552, allocations: 141.8 kB / 2.142 GB, free: 42.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003781/6.556, allocations: 2.965 MB / 2.145 GB, free: 39.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/6.556, allocations: 0 / 2.145 GB, free: 39.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01459/6.57, allocations: 3.833 MB / 2.148 GB, free: 35.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (j1.phi,j1.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 (165): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,157,40.5%), (16,99,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,86)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001905/6.572, allocations: 246.2 kB / 2.149 GB, free: 35.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3007/6.873, allocations: 32.74 MB / 2.181 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/6.873, allocations: 2.094 kB / 2.181 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.03914/6.912, allocations: 19.6 MB / 2.2 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007279/6.919, allocations: 0.6985 MB / 2.2 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04378/6.963, allocations: 27.38 MB / 2.227 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007201/6.97, allocations: 4.619 MB / 2.232 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006579/6.977, allocations: 1.984 MB / 2.234 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009326/6.978, allocations: 277.9 kB / 2.234 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/6.978, allocations: 0 / 2.234 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.5282/7.506, allocations: 287.1 MB / 2.514 GB, free: 62.47 MB / 0.5606 GB " [Timeout remaining time 652] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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: 16.931838020682335]