Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 81.3 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 146.7 kB / 23.93 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 173.3 MB / 200.4 MB, free: 12.92 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.794e-05, allocations: 2.281 kB / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01388/0.01391, allocations: 11.8 MB / 330.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.02569, allocations: 4.631 MB / 335.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00389/0.02958, allocations: 105.8 kB / 335.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009342/0.03892, allocations: 4.295 MB / 339.7 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008366/0.04729, allocations: 2.281 MB / 342 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.05051, allocations: 1.21 MB / 343.2 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009598/0.06011, allocations: 6.645 MB / 349.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006176/0.06628, allocations: 4.603 MB / 354.5 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005465/0.07175, allocations: 3.286 MB / 357.8 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004904/0.07665, allocations: 3.106 MB / 360.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.07773, allocations: 0.5 MB / 361.4 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.08083, allocations: 1.595 MB / 363 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002773/0.0836, allocations: 2.782 MB / 365.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002852/0.08646, allocations: 1.761 MB / 367.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.09955, allocations: 9.756 MB / 377.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.09956, allocations: 0 / 377.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09956, allocations: 0 / 377.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000275/0.09984, allocations: 0 / 377.3 MB, free: 1.188 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01846/0.1183, allocations: 6.163 MB / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1183, allocations: 8.922 kB / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.1314, allocations: 2.7 MB / 386.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009688/0.1411, allocations: 3.678 MB / 389.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.1414, allocations: 308.3 kB / 390.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/0.1426, allocations: 448.4 kB / 390.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02362/0.1662, allocations: 12.5 MB / 403.1 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001527/0.1663, allocations: 47.59 kB / 403.1 MB, free: 6.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006101/0.1669, allocations: 195.8 kB / 403.3 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003495/0.1704, allocations: 2.031 MB / 405.3 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02299/0.1934, allocations: 10.54 MB / 415.9 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05559/0.249, allocations: 41 MB / 456.9 MB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/0.2625, allocations: 4.396 MB / 461.3 MB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/0.2654, allocations: 1.881 MB / 463.1 MB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01135/0.2767, allocations: 5.922 MB / 469.1 MB, free: 3.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.2768, allocations: 59.48 kB / 469.1 MB, free: 3.184 MB / 430.1 MB Notification: Performance of pre-optimization done (n=179): time 4.658e-06/0.2768, allocations: 0 / 469.1 MB, free: 3.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.2196/0.4964, allocations: 20.57 MB / 489.7 MB, free: 124.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.4965, allocations: 203 kB / 489.9 MB, free: 124.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004445/0.5009, allocations: 4.474 MB / 494.4 MB, free: 122.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002229/0.5011, allocations: 57.48 kB / 494.4 MB, free: 122.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.5025, allocations: 3.644 MB / 498.1 MB, free: 120.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/0.503, allocations: 0.8681 MB / 498.9 MB, free: 119.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.5043, allocations: 1.326 MB / 0.4885 GB, free: 118.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.657e-05/0.5044, allocations: 304.8 kB / 0.4888 GB, free: 118.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/0.507, allocations: 2.37 MB / 0.4911 GB, free: 117.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00365/0.5106, allocations: 6.21 MB / 0.4972 GB, free: 110.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00694/0.5176, allocations: 9.176 MB / 0.5062 GB, free: 99.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.678e-05/0.5176, allocations: 40 kB / 0.5062 GB, free: 99.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01387/0.5315, allocations: 9.516 MB / 0.5155 GB, free: 90.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/0.5316, allocations: 64.19 kB / 0.5156 GB, free: 90.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.453e-05/0.5317, allocations: 136 kB / 0.5157 GB, free: 90.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/0.5353, allocations: 1.371 MB / 0.517 GB, free: 88.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/0.5392, allocations: 1.478 MB / 0.5185 GB, free: 87.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009467/0.5486, allocations: 8.262 MB / 0.5265 GB, free: 78.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00494/0.5536, allocations: 423.4 kB / 0.5269 GB, free: 78.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005778/0.5542, allocations: 389 kB / 0.5273 GB, free: 78.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002929/0.5571, allocations: 2.482 MB / 0.5297 GB, free: 75.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006721/0.5578, allocations: 385.4 kB / 0.5301 GB, free: 75.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007089/0.5648, allocations: 4.076 MB / 0.5341 GB, free: 71.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/0.5649, allocations: 24 kB / 0.5341 GB, free: 71.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.5649, allocations: 7.938 kB / 0.5341 GB, free: 71.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.5649, allocations: 15.95 kB / 0.5341 GB, free: 71.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.5793, allocations: 8.723 MB / 0.5427 GB, free: 62.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.5793, allocations: 10.28 kB / 0.5427 GB, free: 62.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.5806, allocations: 323.5 kB / 0.543 GB, free: 61.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003472/0.5841, allocations: 1.148 MB / 0.5441 GB, free: 60.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.5842, allocations: 47.56 kB / 0.5441 GB, free: 60.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008297/0.5925, allocations: 6.977 MB / 0.551 GB, free: 53.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.5926, allocations: 11.88 kB / 0.551 GB, free: 53.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009675/0.6022, allocations: 6.857 MB / 0.5577 GB, free: 46.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.6034, allocations: 405.1 kB / 0.558 GB, free: 46.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005118/0.6039, allocations: 44 kB / 0.5581 GB, free: 46.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/0.6058, allocations: 163.8 kB / 0.5582 GB, free: 46.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004228/0.6062, allocations: 148.9 kB / 0.5584 GB, free: 45.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/0.6063, allocations: 64 kB / 0.5584 GB, free: 45.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003213/0.6096, allocations: 2.644 MB / 0.561 GB, free: 43.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6096, allocations: 0 / 0.561 GB, free: 43.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005196/0.6148, allocations: 1.343 MB / 0.5623 GB, free: 41.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000692/0.6154, allocations: 262.5 kB / 0.5626 GB, free: 41.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007508/0.623, allocations: 5.525 MB / 0.568 GB, free: 36.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.623, allocations: 0 / 0.568 GB, free: 36.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.625, allocations: 1.734 MB / 0.5697 GB, free: 34.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/0.6278, allocations: 0.4911 MB / 0.5702 GB, free: 33.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.6427, allocations: 11.22 MB / 0.5811 GB, free: 22.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003186/0.6459, allocations: 3.353 MB / 0.5844 GB, free: 19.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003725/0.6496, allocations: 1.904 MB / 0.5863 GB, free: 17.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007389/0.6504, allocations: 264.4 kB / 0.5865 GB, free: 17.05 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6504, allocations: 4 kB / 0.5865 GB, free: 17.04 MB / 430.1 MB Notification: Performance of Templates: time 0.239/0.8894, allocations: 40.03 MB / 0.6256 GB, free: 145.1 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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: 6.721797946840525]