Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001628/0.001628, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 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.001596/0.001596, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.5/1.5, allocations: 230.6 MB / 254.1 MB, free: 15.09 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+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 43.94 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1175, allocations: 53.32 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.2131/0.3307, allocations: 15.94 MB / 442.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.3413, allocations: 5.14 MB / 447.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/0.3445, allocations: 136.9 kB / 448 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009057/0.3535, allocations: 4.483 MB / 452.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008739/0.3623, allocations: 2.568 MB / 455.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.3653, allocations: 1.157 MB / 456.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01365/0.379, allocations: 8.104 MB / 464.3 MB, free: 6.875 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006305/0.3853, allocations: 4.53 MB / 468.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004818/0.3901, allocations: 2.506 MB / 471.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006175/0.3963, allocations: 3.614 MB / 475 MB, free: 220 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001556/0.3978, allocations: 0.504 MB / 475.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003498/0.4013, allocations: 1.533 MB / 477 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0035/0.4048, allocations: 3.027 MB / 480 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004635/0.4094, allocations: 3.329 MB / 483.4 MB, free: 7.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.4237, allocations: 10.33 MB / 493.7 MB, free: 13.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4237, allocations: 0 / 493.7 MB, free: 13.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4237, allocations: 0 / 493.7 MB, free: 13.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003383/0.4241, allocations: 0 / 493.7 MB, free: 13.41 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.01955/0.4436, allocations: 7.826 MB / 0.4898 GB, free: 5.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.4437, allocations: 12.03 kB / 0.4898 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/0.4598, allocations: 3.335 MB / 0.493 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/0.4711, allocations: 4.768 MB / 0.4977 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003172/0.4714, allocations: 338.2 kB / 0.498 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.4729, allocations: 471.5 kB / 0.4985 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02988/0.5028, allocations: 14.56 MB / 0.5127 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/0.503, allocations: 75.47 kB / 0.5128 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000779/0.5038, allocations: 207.8 kB / 0.513 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006059/0.5099, allocations: 2.84 MB / 0.5157 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03094/0.5408, allocations: 13.21 MB / 0.5286 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08889/0.6297, allocations: 58.37 MB / 0.5856 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01989/0.6496, allocations: 7.387 MB / 0.5928 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007229/0.6568, allocations: 4.552 MB / 0.5973 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02493/0.6818, allocations: 12.81 MB / 0.6098 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.747e-05/0.6818, allocations: 76.58 kB / 0.6099 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=326): time 6.863e-06/0.6818, allocations: 0 / 0.6099 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=572): time 2.484/3.166, allocations: 411.6 MB / 1.012 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/3.166, allocations: 263.1 kB / 1.012 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007825/3.174, allocations: 5.452 MB / 1.017 GB, free: 157 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001731/3.176, allocations: 111.6 kB / 1.018 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002733/3.179, allocations: 4.081 MB / 1.021 GB, free: 155 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00331/3.182, allocations: 2.102 MB / 1.024 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00568/3.188, allocations: 2.191 MB / 1.026 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/3.188, allocations: 303.6 kB / 1.026 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01778/3.205, allocations: 11.06 MB / 1.037 GB, free: 148 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01911/3.224, allocations: 15.24 MB / 1.052 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03214/3.257, allocations: 27.45 MB / 1.078 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001834/3.257, allocations: 39.69 kB / 1.079 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.6243/3.881, allocations: 140.8 MB / 1.216 GB, free: 157.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/3.881, allocations: 66.73 kB / 1.216 GB, free: 157.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002429/3.881, allocations: 139 kB / 1.216 GB, free: 157.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08793/3.969, allocations: 34.71 MB / 1.25 GB, free: 151.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005038/3.974, allocations: 1.567 MB / 1.252 GB, free: 151.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5376/4.512, allocations: 203.7 MB / 1.451 GB, free: 138.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01499/4.527, allocations: 1.726 MB / 1.452 GB, free: 138.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00282/4.53, allocations: 0.5392 MB / 1.453 GB, free: 138.3 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.008066/4.538, allocations: 3.082 MB / 1.456 GB, free: 137.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002907/4.541, allocations: 0.6031 MB / 1.456 GB, free: 137.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.338/4.879, allocations: 136.4 MB / 1.59 GB, free: 29.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.983e-05/4.879, allocations: 56.98 kB / 1.59 GB, free: 29.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001743/4.879, allocations: 60 kB / 1.59 GB, free: 28.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001281/4.879, allocations: 32.58 kB / 1.59 GB, free: 28.94 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6182/5.497, allocations: 205.7 MB / 1.791 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-05/5.498, allocations: 11.98 kB / 1.791 GB, free: 53.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/5.499, allocations: 331.5 kB / 1.791 GB, free: 53.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07434/5.573, allocations: 33.44 MB / 1.824 GB, free: 20.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002154/5.576, allocations: 100.6 kB / 1.824 GB, free: 20.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.455/6.031, allocations: 186.3 MB / 2.006 GB, free: 58.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/6.031, allocations: 11.69 kB / 2.006 GB, free: 58.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5818/6.612, allocations: 152.3 MB / 2.154 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/6.614, allocations: 0.6587 MB / 2.155 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002725/6.617, allocations: 96.62 kB / 2.155 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01007/6.627, allocations: 1.492 MB / 2.157 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003983/6.631, allocations: 497 kB / 2.157 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009904/6.632, allocations: 143.1 kB / 2.157 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004505/6.636, allocations: 3.463 MB / 2.161 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/6.636, allocations: 0 / 2.161 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01407/6.651, allocations: 3.842 MB / 2.164 GB, free: 102.9 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.001629/6.652, allocations: 248.4 kB / 2.165 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0539/6.706, allocations: 32.75 MB / 2.196 GB, free: 70.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/6.706, allocations: 0 / 2.196 GB, free: 70.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.03849/6.745, allocations: 19.6 MB / 2.216 GB, free: 50.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007079/6.752, allocations: 0.7881 MB / 2.216 GB, free: 49.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04074/6.792, allocations: 27.31 MB / 2.243 GB, free: 22.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006349/6.799, allocations: 5.09 MB / 2.248 GB, free: 17.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.2273/7.026, allocations: 2.059 MB / 2.25 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/7.027, allocations: 304.2 kB / 2.25 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.532e-06/7.027, allocations: 2.969 kB / 2.25 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.6091/7.636, allocations: 278.5 MB / 2.522 GB, free: 152.9 MB / 0.5762 GB " [Timeout remaining time 652] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.79599119350314]