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.000827/0.000827, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.00195, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007741/0.0007741, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001115/0.001889, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.8671/0.8671, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1449/1.012, allocations: 49.49 MB / 220.5 MB, free: 1.461 MB / 218.7 MB " [Timeout remaining time 179] 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.543e-06/1.543e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.073e-05, allocations: 6.312 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01894/0.01896, allocations: 15.24 MB / 237.1 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.03137, allocations: 5.302 MB / 242.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.03334, allocations: 139.2 kB / 242.5 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004198/0.03754, allocations: 4.523 MB / 247 MB, free: 6.863 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00434/0.04187, allocations: 2.686 MB / 249.7 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.04366, allocations: 1.201 MB / 250.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006939/0.0506, allocations: 7.873 MB / 258.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003833/0.05443, allocations: 4.695 MB / 263.5 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004433/0.05887, allocations: 4.769 MB / 268.3 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003415/0.06228, allocations: 3.511 MB / 271.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000727/0.06301, allocations: 0.5117 MB / 272.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.06491, allocations: 1.506 MB / 273.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001772/0.06668, allocations: 2.876 MB / 276.7 MB, free: 9.059 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.06822, allocations: 1.64 MB / 278.3 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005543/0.07376, allocations: 6.337 MB / 284.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.789e-05/0.07378, allocations: 0 / 284.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.07378, allocations: 0 / 284.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001166/0.0739, allocations: 4 kB / 284.7 MB, free: 1.051 MB / 282.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.1353/0.2092, allocations: 8.376 MB / 293 MB, free: 48.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2092, allocations: 12.66 kB / 293 MB, free: 48.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005896/0.2151, allocations: 1.55 MB / 294.6 MB, free: 48.58 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005425/0.2205, allocations: 3.352 MB / 297.9 MB, free: 47.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.2207, allocations: 338.3 kB / 298.3 MB, free: 47.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006569/0.2214, allocations: 463.4 kB / 298.7 MB, free: 47.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007732/0.2291, allocations: 7.059 MB / 305.8 MB, free: 42.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.2292, allocations: 74.22 kB / 305.9 MB, free: 42.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003674/0.2296, allocations: 217.7 kB / 306.1 MB, free: 42.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001627/0.2312, allocations: 2.317 MB / 308.4 MB, free: 40.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005525/0.2368, allocations: 3.627 MB / 312 MB, free: 36.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02914/0.2659, allocations: 43.04 MB / 355.1 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00581/0.2717, allocations: 2.78 MB / 357.8 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007781/0.2725, allocations: 0.6403 MB / 358.5 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007928/0.2804, allocations: 6.261 MB / 364.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.2805, allocations: 64.48 kB / 364.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=237): time 3.496e-06/0.2805, allocations: 4 kB / 364.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=347): time 0.08254/0.363, allocations: 27.49 MB / 392.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.3631, allocations: 166.8 kB / 392.5 MB, free: 2.973 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004429/0.3675, allocations: 4.398 MB / 396.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003762/0.3679, allocations: 81.69 kB / 396.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001874/0.3697, allocations: 4.006 MB / 400.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001083/0.3708, allocations: 1.321 MB / 402.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001782/0.3726, allocations: 1.613 MB / 403.9 MB, free: 7.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.3727, allocations: 305.1 kB / 404.2 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/0.3754, allocations: 1.783 MB / 406 MB, free: 5.406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004662/0.38, allocations: 6.303 MB / 412.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007046/0.3871, allocations: 8.638 MB / 420.9 MB, free: 1.875 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.025e-05/0.3871, allocations: 44 kB / 420.9 MB, free: 1.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=1133) (initialization): time 0.1791/0.5663, allocations: 10.63 MB / 431.6 MB, free: 105.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.364e-05/0.5664, allocations: 73.27 kB / 431.6 MB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001659/0.5665, allocations: 163.9 kB / 431.8 MB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01789/0.5844, allocations: 9.509 MB / 441.3 MB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/0.5878, allocations: 1.882 MB / 443.2 MB, free: 105.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02796/0.6158, allocations: 18.44 MB / 461.6 MB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0054/0.6212, allocations: 351.5 kB / 462 MB, free: 89.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005471/0.6217, allocations: 424 kB / 462.4 MB, free: 89.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 734 * 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 (934): * Single equations (assignments): 927 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(11,77,47.9%), (5,46,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,33)} Notification: Performance of prepare postOptimizeDAE: time 0.002122/0.6238, allocations: 0.7848 MB / 463.2 MB, free: 88.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008813/0.6247, allocations: 379.5 kB / 463.5 MB, free: 88.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02232/0.647, allocations: 7.184 MB / 470.7 MB, free: 81.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.33e-05/0.6471, allocations: 40 kB / 470.8 MB, free: 81.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001181/0.6472, allocations: 24 kB / 470.8 MB, free: 81.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-05/0.6473, allocations: 19.94 kB / 470.8 MB, free: 81.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03631/0.6836, allocations: 16.01 MB / 486.8 MB, free: 65.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.145e-05/0.6837, allocations: 8 kB / 486.8 MB, free: 65.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.6855, allocations: 0.5651 MB / 487.4 MB, free: 65.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002872/0.6884, allocations: 1.152 MB / 488.5 MB, free: 64.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01597/0.7044, allocations: 9.016 MB / 497.6 MB, free: 55.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003801/0.7047, allocations: 67.98 kB / 497.6 MB, free: 55.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02361/0.7283, allocations: 15.12 MB / 0.5007 GB, free: 40.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/0.7284, allocations: 15.94 kB / 0.5007 GB, free: 40.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02489/0.7532, allocations: 8.753 MB / 0.5093 GB, free: 31.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001707/0.7549, allocations: 71.98 kB / 0.5094 GB, free: 31.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/0.7568, allocations: 71.98 kB / 0.5094 GB, free: 31.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/0.758, allocations: 306.9 kB / 0.5097 GB, free: 30.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/0.7582, allocations: 75.98 kB / 0.5098 GB, free: 30.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002108/0.7603, allocations: 1.726 MB / 0.5115 GB, free: 29.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7603, allocations: 4.031 kB / 0.5115 GB, free: 29.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007835/0.7681, allocations: 2.469 MB / 0.5139 GB, free: 26.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (167): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(13,68,39.6%), (7,42,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,33)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006769/0.7688, allocations: 222.2 kB / 0.5141 GB, free: 26.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009713/0.7785, allocations: 6.411 MB / 0.5204 GB, free: 20.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002812/0.7788, allocations: 154.2 kB / 0.5205 GB, free: 19.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005267/0.7841, allocations: 3.126 MB / 0.5236 GB, free: 16.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/0.7884, allocations: 1.355 MB / 0.5249 GB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/0.8095, allocations: 13.55 MB / 0.5381 GB, free: 1.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/0.8114, allocations: 1.951 MB / 0.54 GB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002036/0.8134, allocations: 0.6517 MB / 0.5407 GB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.8146, allocations: 0.7315 MB / 0.5414 GB, free: 14.25 MB / 378.7 MB Notification: Performance of SimCode: time 3.086e-06/0.8146, allocations: 0 / 0.5414 GB, free: 14.25 MB / 378.7 MB Notification: Performance of Templates: time 0.2515/1.066, allocations: 138.7 MB / 0.6768 GB, free: 7.184 MB / 378.7 MB " [Timeout remaining time 659] 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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.260729021392763]