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.001278/0.001278, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002855, allocations: 453.8 kB / 10.46 MB, free: 236 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.001203/0.001203, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001657/0.00286, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9553/0.9553, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1847/1.14, allocations: 49.49 MB / 220.7 MB, free: 1.359 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.483e-06/1.483e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.33e-05, allocations: 6.25 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01107/0.01109, allocations: 15.26 MB / 237.2 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.02201, allocations: 5.31 MB / 242.6 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.02441, allocations: 139.2 kB / 242.7 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004674/0.02908, allocations: 4.512 MB / 247.2 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005938/0.03502, allocations: 2.701 MB / 249.9 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.03713, allocations: 1.201 MB / 251.1 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008837/0.04597, allocations: 7.848 MB / 259 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005091/0.05106, allocations: 4.699 MB / 263.7 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005832/0.05689, allocations: 4.776 MB / 268.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005227/0.06212, allocations: 3.507 MB / 271.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.06336, allocations: 0.5078 MB / 272.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.06602, allocations: 1.498 MB / 273.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002342/0.06836, allocations: 2.872 MB / 276.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002118/0.07048, allocations: 1.644 MB / 278.5 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006426/0.07691, allocations: 6.329 MB / 284.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.07692, allocations: 0 / 284.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.07692, allocations: 0 / 284.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000159/0.07708, allocations: 0 / 284.8 MB, free: 0.9492 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.1604/0.2374, allocations: 8.38 MB / 293.2 MB, free: 48.47 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2375, allocations: 10.16 kB / 293.2 MB, free: 48.47 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005219/0.2427, allocations: 1.551 MB / 294.7 MB, free: 48.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005616/0.2483, allocations: 3.35 MB / 298.1 MB, free: 47.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.2485, allocations: 340.1 kB / 298.4 MB, free: 47.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006689/0.2492, allocations: 468.5 kB / 298.9 MB, free: 47.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009383/0.2586, allocations: 7.062 MB / 305.9 MB, free: 42.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.2587, allocations: 76.06 kB / 306 MB, free: 42.56 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004745/0.2592, allocations: 208.8 kB / 306.2 MB, free: 42.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002112/0.2613, allocations: 2.179 MB / 308.4 MB, free: 40.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007654/0.269, allocations: 3.624 MB / 312 MB, free: 36.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03586/0.3048, allocations: 43.04 MB / 355.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00606/0.3109, allocations: 2.781 MB / 357.8 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008419/0.3117, allocations: 0.6456 MB / 358.5 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0146/0.3263, allocations: 6.264 MB / 364.7 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.093e-05/0.3264, allocations: 64.39 kB / 364.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=237): time 7.294e-06/0.3264, allocations: 0 / 364.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=347): time 0.09992/0.4263, allocations: 27.82 MB / 392.6 MB, free: 2.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.4264, allocations: 166.8 kB / 392.8 MB, free: 2.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007554/0.434, allocations: 4.405 MB / 397.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009975/0.435, allocations: 77.7 kB / 397.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003077/0.438, allocations: 4.007 MB / 401.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002384/0.4404, allocations: 1.313 MB / 402.6 MB, free: 8.809 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003254/0.4437, allocations: 1.617 MB / 404.2 MB, free: 7.176 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.4438, allocations: 305.1 kB / 404.5 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002508/0.4463, allocations: 1.779 MB / 406.3 MB, free: 5.086 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004516/0.4508, allocations: 6.307 MB / 412.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007195/0.458, allocations: 9.188 MB / 421.8 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-05/0.458, allocations: 48 kB / 421.8 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of matching and sorting (n=1133) (initialization): time 0.1725/0.6305, allocations: 10.63 MB / 432.5 MB, free: 105.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.6306, allocations: 74.62 kB / 432.5 MB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002496/0.6309, allocations: 174.9 kB / 432.7 MB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01976/0.6507, allocations: 9.547 MB / 442.2 MB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003907/0.6546, allocations: 1.887 MB / 444.1 MB, free: 105.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03238/0.6869, allocations: 18.45 MB / 462.6 MB, free: 89.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007459/0.6944, allocations: 356.5 kB / 462.9 MB, free: 89.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001554/0.696, allocations: 416.8 kB / 463.3 MB, free: 88.69 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.003451/0.6994, allocations: 0.7887 MB / 464.1 MB, free: 87.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001622/0.701, allocations: 382.2 kB / 464.5 MB, free: 87.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03134/0.7324, allocations: 7.176 MB / 471.7 MB, free: 80.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/0.7324, allocations: 32 kB / 471.7 MB, free: 80.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.289e-05/0.7325, allocations: 24 kB / 471.7 MB, free: 80.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.569e-05/0.7326, allocations: 15.94 kB / 471.7 MB, free: 80.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04171/0.7743, allocations: 16.01 MB / 487.8 MB, free: 65.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.543e-05/0.7744, allocations: 21.89 kB / 487.8 MB, free: 65.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.7761, allocations: 0.5606 MB / 488.3 MB, free: 64.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003532/0.7796, allocations: 1.157 MB / 489.5 MB, free: 63.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01742/0.797, allocations: 9.057 MB / 498.6 MB, free: 54.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007987/0.7978, allocations: 62.03 kB / 498.6 MB, free: 54.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02646/0.8243, allocations: 15.14 MB / 0.5017 GB, free: 39.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/0.8243, allocations: 15.94 kB / 0.5017 GB, free: 39.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02858/0.8529, allocations: 8.795 MB / 0.5103 GB, free: 30.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001996/0.8549, allocations: 71.92 kB / 0.5104 GB, free: 30.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003505/0.8584, allocations: 72.02 kB / 0.5105 GB, free: 30.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00158/0.86, allocations: 310.9 kB / 0.5107 GB, free: 30.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003707/0.8603, allocations: 71.98 kB / 0.5108 GB, free: 30.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00287/0.8632, allocations: 1.725 MB / 0.5125 GB, free: 28.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8632, allocations: 0 / 0.5125 GB, free: 28.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008653/0.8719, allocations: 2.473 MB / 0.5149 GB, free: 25.91 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.0008232/0.8727, allocations: 229.5 kB / 0.5151 GB, free: 25.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01278/0.8855, allocations: 6.553 MB / 0.5215 GB, free: 19.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0005804/0.8861, allocations: 154.1 kB / 0.5217 GB, free: 19.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009127/0.8952, allocations: 3.921 MB / 0.5255 GB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005647/0.9008, allocations: 4.574 MB / 0.53 GB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/0.9243, allocations: 13.54 MB / 0.5432 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003169/0.9274, allocations: 1.939 MB / 0.5451 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002517/0.9299, allocations: 0.6517 MB / 0.5457 GB, free: 9.398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/0.9315, allocations: 0.731 MB / 0.5464 GB, free: 8.672 MB / 378.7 MB Notification: Performance of SimCode: time 2.475e-06/0.9315, allocations: 3.938 kB / 0.5464 GB, free: 8.668 MB / 378.7 MB Notification: Performance of Templates: time 0.2647/1.196, allocations: 138.8 MB / 0.682 GB, free: 1.422 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.208554806187749]