Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 104.5 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 59.91 kB / 347.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3199, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01495/0.3349, allocations: 16.1 MB / 412.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.3486, allocations: 5.202 MB / 418.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003779/0.3524, allocations: 132.1 kB / 418.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01108/0.3635, allocations: 4.521 MB / 422.8 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009282/0.3728, allocations: 2.631 MB / 425.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.3763, allocations: 1.166 MB / 426.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01295/0.3893, allocations: 7.505 MB / 434.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008176/0.3975, allocations: 3.975 MB / 438 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006424/0.4039, allocations: 2.539 MB / 440.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006538/0.4104, allocations: 3.653 MB / 444.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002189/0.4126, allocations: 0.5039 MB / 444.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004619/0.4172, allocations: 1.533 MB / 446.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005066/0.4223, allocations: 3.058 MB / 449.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006805/0.4291, allocations: 3.36 MB / 452.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.4452, allocations: 10.41 MB / 463.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.4452, allocations: 0 / 463.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4452, allocations: 0 / 463.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003788/0.4456, allocations: 0 / 463.1 MB, free: 0.8828 MB / 366.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.02165/0.4673, allocations: 7.754 MB / 470.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4673, allocations: 11.98 kB / 470.9 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/0.4829, allocations: 3.222 MB / 474.1 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.4959, allocations: 4.92 MB / 479 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004514/0.4964, allocations: 337.1 kB / 479.3 MB, free: 480 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002445/0.4988, allocations: 475.6 kB / 479.8 MB, free: 4 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03732/0.5362, allocations: 14.57 MB / 494.4 MB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005906/0.5367, allocations: 71.42 kB / 494.4 MB, free: 444 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00272/0.5395, allocations: 215.8 kB / 494.7 MB, free: 228 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006482/0.5459, allocations: 2.836 MB / 497.5 MB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03348/0.5794, allocations: 13.21 MB / 0.4987 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1005/0.6799, allocations: 58.27 MB / 0.5556 GB, free: 4.324 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2656/0.9456, allocations: 6.928 MB / 0.5624 GB, free: 143.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005984/0.9516, allocations: 4.592 MB / 0.5669 GB, free: 142.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01958/0.9711, allocations: 12.41 MB / 0.579 GB, free: 137.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/0.9712, allocations: 72.73 kB / 0.5791 GB, free: 137.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=326): time 5.951e-06/0.9712, allocations: 0 / 0.5791 GB, free: 137.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=572): time 2.069/3.04, allocations: 411.3 MB / 0.9808 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/3.04, allocations: 271.7 kB / 0.981 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008386/3.048, allocations: 5.5 MB / 0.9864 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.002069/3.05, allocations: 109.7 kB / 0.9865 GB, free: 137.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00248/3.053, allocations: 4.093 MB / 0.9905 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.003266/3.056, allocations: 2.107 MB / 0.9926 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006244/3.062, allocations: 2.187 MB / 0.9947 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.623e-05/3.062, allocations: 308.7 kB / 0.995 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01399/3.076, allocations: 11.06 MB / 1.006 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01613/3.093, allocations: 15.23 MB / 1.021 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03019/3.123, allocations: 27.45 MB / 1.047 GB, free: 72.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/3.123, allocations: 40 kB / 1.048 GB, free: 72.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5966/3.719, allocations: 140.7 MB / 1.185 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002506/3.72, allocations: 64 kB / 1.185 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002775/3.72, allocations: 143.2 kB / 1.185 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07819/3.798, allocations: 34.69 MB / 1.219 GB, free: 82.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00539/3.804, allocations: 1.567 MB / 1.221 GB, free: 80.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5422/4.346, allocations: 203.2 MB / 1.419 GB, free: 86.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01413/4.36, allocations: 1.723 MB / 1.421 GB, free: 85.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003036/4.363, allocations: 0.5322 MB / 1.421 GB, free: 84.65 MB / 0.5137 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.006805/4.37, allocations: 3.095 MB / 1.424 GB, free: 82.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/4.372, allocations: 0.607 MB / 1.425 GB, free: 81.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.54/4.912, allocations: 136.3 MB / 1.558 GB, free: 132.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.108e-05/4.912, allocations: 58.53 kB / 1.558 GB, free: 132.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001585/4.912, allocations: 57.56 kB / 1.558 GB, free: 132.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001199/4.912, allocations: 31.33 kB / 1.558 GB, free: 132.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6541/5.566, allocations: 205.6 MB / 1.759 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.238e-05/5.566, allocations: 7.469 kB / 1.759 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/5.568, allocations: 331.6 kB / 1.759 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07021/5.638, allocations: 33.43 MB / 1.792 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00186/5.64, allocations: 99.84 kB / 1.792 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4631/6.103, allocations: 185.9 MB / 1.973 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/6.103, allocations: 16.33 kB / 1.973 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.579/6.682, allocations: 152.2 MB / 2.122 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007918/6.69, allocations: 2.957 MB / 2.125 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00339/6.693, allocations: 102.6 kB / 2.125 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009766/6.703, allocations: 1.48 MB / 2.127 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004664/6.708, allocations: 0.5188 MB / 2.127 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00147/6.709, allocations: 146.8 kB / 2.127 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007152/6.716, allocations: 3.503 MB / 2.131 GB, free: 149 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/6.716, allocations: 0 / 2.131 GB, free: 149 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01877/6.735, allocations: 3.857 MB / 2.134 GB, free: 148.7 MB / 0.5294 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.002391/6.738, allocations: 245.3 kB / 2.135 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.06071/6.798, allocations: 32.74 MB / 2.167 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/6.798, allocations: 4 kB / 2.167 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.04111/6.839, allocations: 19.58 MB / 2.186 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01126/6.851, allocations: 0.7797 MB / 2.186 GB, free: 111.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05148/6.902, allocations: 27.54 MB / 2.213 GB, free: 84.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/6.913, allocations: 5.113 MB / 2.218 GB, free: 78.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00596/6.919, allocations: 2.058 MB / 2.22 GB, free: 77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/6.921, allocations: 307.4 kB / 2.221 GB, free: 76.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.443e-06/6.921, allocations: 2.953 kB / 2.221 GB, free: 76.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.9144/7.835, allocations: 286 MB / 2.5 GB, free: 150.7 MB / 0.545 GB " [Timeout remaining time 652] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 17.700146563351154]