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.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.002312/0.002312, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.002506/0.002506, allocations: 215 kB / 24.47 MB, free: 3.777 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.583/1.583, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 55.92 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.305, allocations: 49.15 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.0147/0.3197, allocations: 13.88 MB / 410.7 MB, free: 364 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.3329, allocations: 4.97 MB / 415.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004156/0.337, allocations: 137.2 kB / 415.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009659/0.3467, allocations: 4.328 MB / 420.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009289/0.356, allocations: 2.642 MB / 422.8 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003597/0.3596, allocations: 1.165 MB / 424 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01254/0.3721, allocations: 7.503 MB / 431.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006707/0.3788, allocations: 4.294 MB / 435.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005203/0.384, allocations: 2.539 MB / 438.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006465/0.3905, allocations: 3.438 MB / 441.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001602/0.3921, allocations: 0.5039 MB / 442.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.3959, allocations: 1.393 MB / 443.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004042/0.4, allocations: 3.062 MB / 446.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004991/0.405, allocations: 2.532 MB / 449.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.4192, allocations: 10.47 MB / 459.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.4192, allocations: 0 / 459.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4192, allocations: 8 kB / 459.7 MB, free: 4.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003924/0.4196, allocations: 0 / 459.7 MB, free: 4.098 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.0204/0.44, allocations: 7.738 MB / 467.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.4401, allocations: 11.98 kB / 467.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01481/0.4549, allocations: 3.234 MB / 470.7 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.4687, allocations: 4.939 MB / 475.6 MB, free: 4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.4691, allocations: 333.1 kB / 476 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002142/0.4712, allocations: 471.6 kB / 476.4 MB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03154/0.5028, allocations: 14.64 MB / 491.1 MB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002833/0.5031, allocations: 75.47 kB / 491.1 MB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007755/0.5038, allocations: 215.8 kB / 491.3 MB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005768/0.5096, allocations: 2.832 MB / 494.2 MB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02838/0.538, allocations: 13.15 MB / 0.4954 GB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08293/0.6209, allocations: 53.94 MB / 0.5481 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/0.6389, allocations: 6.918 MB / 0.5549 GB, free: 5.113 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006508/0.6454, allocations: 4.59 MB / 0.5593 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2896/0.9349, allocations: 11.45 MB / 0.5705 GB, free: 140.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.226e-05/0.935, allocations: 78.41 kB / 0.5706 GB, free: 140.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=326): time 7.845e-06/0.935, allocations: 7.781 kB / 0.5706 GB, free: 140.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=572): time 2.143/3.078, allocations: 411.4 MB / 0.9723 GB, free: 147.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/3.078, allocations: 270.2 kB / 0.9726 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006945/3.085, allocations: 5.024 MB / 0.9775 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00247/3.087, allocations: 113.1 kB / 0.9776 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003523/3.091, allocations: 4.126 MB / 0.9816 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.004182/3.095, allocations: 2.108 MB / 0.9837 GB, free: 140.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00538/3.1, allocations: 2.186 MB / 0.9858 GB, free: 139 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.477e-05/3.1, allocations: 301.1 kB / 0.9861 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01292/3.113, allocations: 11.07 MB / 0.9969 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01539/3.129, allocations: 15.31 MB / 1.012 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0304/3.159, allocations: 27.46 MB / 1.039 GB, free: 81.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002149/3.159, allocations: 40 kB / 1.039 GB, free: 81.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5754/3.735, allocations: 140.7 MB / 1.176 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-05/3.735, allocations: 64 kB / 1.176 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/3.735, allocations: 136 kB / 1.176 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07582/3.811, allocations: 34.67 MB / 1.21 GB, free: 91.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005273/3.816, allocations: 1.569 MB / 1.212 GB, free: 90.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5596/4.375, allocations: 200.9 MB / 1.408 GB, free: 95.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01431/4.39, allocations: 1.723 MB / 1.41 GB, free: 94.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002869/4.393, allocations: 0.539 MB / 1.41 GB, free: 93.71 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.007029/4.4, allocations: 3.096 MB / 1.413 GB, free: 91.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00199/4.402, allocations: 0.5527 MB / 1.414 GB, free: 90.96 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5692/4.971, allocations: 136.3 MB / 1.547 GB, free: 140.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.781e-05/4.971, allocations: 59.59 kB / 1.547 GB, free: 140.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002142/4.971, allocations: 57.81 kB / 1.547 GB, free: 140.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001456/4.971, allocations: 27.89 kB / 1.547 GB, free: 140.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6348/5.606, allocations: 201.5 MB / 1.744 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.153e-05/5.606, allocations: 3.562 kB / 1.744 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/5.608, allocations: 333 kB / 1.744 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07289/5.681, allocations: 33.41 MB / 1.777 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001945/5.683, allocations: 107.1 kB / 1.777 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4999/6.183, allocations: 183.6 MB / 1.956 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.434e-05/6.183, allocations: 14.61 kB / 1.956 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6026/6.785, allocations: 152.1 MB / 2.105 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00868/6.794, allocations: 2.899 MB / 2.107 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002601/6.796, allocations: 97.36 kB / 2.108 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01055/6.807, allocations: 1.485 MB / 2.109 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004584/6.812, allocations: 0.5186 MB / 2.109 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001254/6.813, allocations: 145.7 kB / 2.11 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004622/6.817, allocations: 2.999 MB / 2.113 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/6.817, allocations: 1.031 kB / 2.113 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01526/6.833, allocations: 3.849 MB / 2.116 GB, free: 148 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.001952/6.835, allocations: 240.2 kB / 2.117 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.05378/6.888, allocations: 32.75 MB / 2.149 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/6.888, allocations: 0 / 2.149 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0371/6.926, allocations: 19.58 MB / 2.168 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007375/6.933, allocations: 0.7039 MB / 2.168 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0431/6.976, allocations: 27.45 MB / 2.195 GB, free: 99.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008248/6.984, allocations: 4.628 MB / 2.2 GB, free: 96.03 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004918/6.989, allocations: 1.985 MB / 2.202 GB, free: 94.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008522/6.99, allocations: 287 kB / 2.202 GB, free: 94.58 MB / 0.5294 GB Notification: Performance of SimCode: time 1.253e-06/6.99, allocations: 0 / 2.202 GB, free: 94.58 MB / 0.5294 GB Notification: Performance of Templates: time 0.8238/7.814, allocations: 287.4 MB / 2.483 GB, free: 155.2 MB / 0.5294 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.617973985150456]