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.001969/0.001969, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.002146/0.002146, allocations: 161.4 kB / 25.03 MB, free: 8.93 MB / 18.57 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.389/1.389, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.592e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.02046/0.02048, allocations: 15.51 MB / 265.9 MB, free: 8.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.03328, allocations: 5.058 MB / 270.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003043/0.03632, allocations: 135.3 kB / 271.1 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0101/0.04643, allocations: 4.781 MB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008223/0.05465, allocations: 2.721 MB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.05784, allocations: 1.302 MB / 279.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01337/0.07121, allocations: 8.5 MB / 288.4 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009349/0.08055, allocations: 5.244 MB / 293.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008369/0.08892, allocations: 3.867 MB / 297.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007378/0.0963, allocations: 3.846 MB / 301.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001816/0.09812, allocations: 0.5195 MB / 301.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003942/0.1021, allocations: 1.463 MB / 303.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004704/0.1068, allocations: 3.234 MB / 306.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004682/0.1114, allocations: 2.041 MB / 308.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01956/0.131, allocations: 10.62 MB / 319.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.131, allocations: 0 / 319.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.131, allocations: 0 / 319.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004525/0.1315, allocations: 0 / 319.2 MB, free: 2.703 MB / 298.7 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.02737/0.1588, allocations: 8.923 MB / 328.1 MB, free: 9.695 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.1589, allocations: 15.98 kB / 328.1 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01723/0.1761, allocations: 3.87 MB / 332 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.1895, allocations: 4.317 MB / 336.3 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004294/0.1899, allocations: 337.1 kB / 336.7 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002315/0.1922, allocations: 472 kB / 337.1 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02638/0.2186, allocations: 9.426 MB / 346.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003024/0.2189, allocations: 71.41 kB / 346.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009438/0.2199, allocations: 215.8 kB / 346.8 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006488/0.2264, allocations: 2.828 MB / 349.7 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1644/0.3908, allocations: 5.792 MB / 355.5 MB, free: 90.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06679/0.4575, allocations: 64.5 MB / 419.9 MB, free: 32.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/0.4709, allocations: 3.963 MB / 423.9 MB, free: 28.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002641/0.4736, allocations: 1.495 MB / 425.4 MB, free: 26.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01629/0.4898, allocations: 7.727 MB / 433.1 MB, free: 19.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.4899, allocations: 75.45 kB / 433.2 MB, free: 18.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=326): time 6.743e-06/0.4899, allocations: 0 / 433.2 MB, free: 18.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=572): time 0.8436/1.334, allocations: 200.4 MB / 0.6187 GB, free: 17.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.334, allocations: 273.6 kB / 0.619 GB, free: 17.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1613/1.495, allocations: 5.69 MB / 0.6246 GB, free: 118.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001802/1.497, allocations: 113.2 kB / 0.6247 GB, free: 118.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003267/1.5, allocations: 4.543 MB / 0.6291 GB, free: 117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00355/1.504, allocations: 2.362 MB / 0.6314 GB, free: 115.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005731/1.509, allocations: 2.501 MB / 0.6339 GB, free: 115.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.907e-05/1.509, allocations: 480.5 kB / 0.6343 GB, free: 115 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008722/1.518, allocations: 4.105 MB / 0.6383 GB, free: 114.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01233/1.53, allocations: 10.68 MB / 0.6487 GB, free: 105.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02358/1.554, allocations: 16.81 MB / 0.6652 GB, free: 92.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003076/1.554, allocations: 40 kB / 0.6652 GB, free: 92.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.4978/2.052, allocations: 113.4 MB / 0.776 GB, free: 99.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/2.052, allocations: 64.47 kB / 0.776 GB, free: 99.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002172/2.053, allocations: 140.8 kB / 0.7762 GB, free: 99.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1446/2.197, allocations: 57.55 MB / 0.8324 GB, free: 56.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004953/2.202, allocations: 1.567 MB / 0.8339 GB, free: 55.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3606/2.563, allocations: 66.66 MB / 0.899 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01505/2.578, allocations: 1.818 MB / 0.9008 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002919/2.581, allocations: 0.539 MB / 0.9013 GB, free: 100.2 MB / 394.7 MB 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.005939/2.587, allocations: 0.9527 MB / 0.9022 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003021/2.59, allocations: 0.7203 MB / 0.9029 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3053/2.895, allocations: 110.1 MB / 1.01 GB, free: 25.08 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.423e-05/2.895, allocations: 61.17 kB / 1.011 GB, free: 25.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001854/2.895, allocations: 56 kB / 1.011 GB, free: 24.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001294/2.895, allocations: 31.89 kB / 1.011 GB, free: 24.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5437/3.439, allocations: 163.6 MB / 1.17 GB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.627e-05/3.439, allocations: 9.969 kB / 1.17 GB, free: 26.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/3.441, allocations: 328.7 kB / 1.171 GB, free: 26.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2747/3.715, allocations: 56.26 MB / 1.226 GB, free: 120 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001719/3.717, allocations: 100.7 kB / 1.226 GB, free: 120 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1544/3.872, allocations: 60.19 MB / 1.284 GB, free: 65.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/3.872, allocations: 8 kB / 1.285 GB, free: 65.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5217/4.393, allocations: 114.1 MB / 1.396 GB, free: 80.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009118/4.402, allocations: 2.677 MB / 1.399 GB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002406/4.405, allocations: 94.88 kB / 1.399 GB, free: 78.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01004/4.415, allocations: 1.577 MB / 1.4 GB, free: 77.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003934/4.419, allocations: 0.5216 MB / 1.401 GB, free: 76.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001123/4.42, allocations: 136.8 kB / 1.401 GB, free: 76.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003864/4.424, allocations: 2.514 MB / 1.403 GB, free: 75 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/4.424, allocations: 3.688 kB / 1.403 GB, free: 75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01469/4.438, allocations: 4.122 MB / 1.407 GB, free: 71.2 MB / 410.7 MB 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.001767/4.44, allocations: 271.9 kB / 1.408 GB, free: 71.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.04593/4.486, allocations: 21.04 MB / 1.428 GB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/4.486, allocations: 0 / 1.428 GB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03378/4.52, allocations: 14.43 MB / 1.442 GB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006097/4.526, allocations: 0.7257 MB / 1.443 GB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.031/4.557, allocations: 19.38 MB / 1.462 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006391/4.563, allocations: 4.189 MB / 1.466 GB, free: 19.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004196/4.568, allocations: 1.726 MB / 1.468 GB, free: 18.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009974/4.569, allocations: 295.3 kB / 1.468 GB, free: 18.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/4.569, allocations: 0 / 1.468 GB, free: 18.04 MB / 410.7 MB Notification: Performance of Templates: time 0.582/5.151, allocations: 294.2 MB / 1.755 GB, free: 2.449 MB / 410.7 MB " [Timeout remaining time 655] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 240] 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: 14.80658874497749]