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.002095/0.002095, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002594/0.002594, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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.516/1.516, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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.733e-06/1.733e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/2.987e-05, allocations: 6.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01699/0.01702, allocations: 11.79 MB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.02807, allocations: 4.651 MB / 283.8 MB, free: 6.191 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.02997, allocations: 103.5 kB / 283.9 MB, free: 6.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009339/0.03931, allocations: 4.365 MB / 288.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1204/0.1597, allocations: 2.271 MB / 290.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.1624, allocations: 1.223 MB / 291.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00856/0.1709, allocations: 6.646 MB / 298.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006162/0.1771, allocations: 4.717 MB / 303.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005984/0.1831, allocations: 3.287 MB / 306.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004169/0.1872, allocations: 3.118 MB / 309.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.1883, allocations: 0.5061 MB / 310 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.1909, allocations: 1.593 MB / 311.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.1929, allocations: 2.798 MB / 314.4 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.1949, allocations: 1.77 MB / 316.2 MB, free: 6.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.2053, allocations: 9.799 MB / 326 MB, free: 12.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.2053, allocations: 3.281 kB / 326 MB, free: 12.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2053, allocations: 0 / 326 MB, free: 12.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003379/0.2057, allocations: 0 / 326 MB, free: 12.66 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01774/0.2234, allocations: 6.187 MB / 332.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.2235, allocations: 16.91 kB / 332.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/0.2373, allocations: 3.282 MB / 335.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.2477, allocations: 3.698 MB / 339.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004579/0.2482, allocations: 308.8 kB / 339.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002543/0.2507, allocations: 439.1 kB / 339.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02973/0.2805, allocations: 12.59 MB / 352.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.2806, allocations: 44.02 kB / 352.5 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006033/0.2812, allocations: 193.4 kB / 352.7 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003785/0.285, allocations: 2.04 MB / 354.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02546/0.3105, allocations: 10.63 MB / 365.4 MB, free: 5.242 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06365/0.3741, allocations: 41.29 MB / 406.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01419/0.3883, allocations: 4.377 MB / 411 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003375/0.3917, allocations: 1.936 MB / 413 MB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0132/0.4049, allocations: 6.045 MB / 419 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.539e-05/0.405, allocations: 50.41 kB / 419.1 MB, free: 15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=181): time 5.54e-06/0.405, allocations: 0 / 419.1 MB, free: 15 MB / 378.7 MB Notification: Performance of matching and sorting (n=227): time 0.2029/0.6079, allocations: 25.71 MB / 444.8 MB, free: 121.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.608, allocations: 205.5 kB / 445 MB, free: 121.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005912/0.6139, allocations: 4.426 MB / 449.4 MB, free: 119.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004481/0.6144, allocations: 63.64 kB / 449.5 MB, free: 119.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001793/0.6162, allocations: 3.629 MB / 453.1 MB, free: 117.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008951/0.6171, allocations: 0.8792 MB / 454 MB, free: 116.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/0.6186, allocations: 1.325 MB / 455.3 MB, free: 115.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.6187, allocations: 301.1 kB / 455.6 MB, free: 115.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/0.6216, allocations: 2.542 MB / 458.1 MB, free: 114.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004096/0.6257, allocations: 6.361 MB / 464.5 MB, free: 108.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00842/0.6341, allocations: 9.505 MB / 474 MB, free: 99.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.87e-05/0.6342, allocations: 40 kB / 474 MB, free: 99.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.01841/0.6526, allocations: 10.67 MB / 484.7 MB, free: 89.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.914e-05/0.6527, allocations: 63.98 kB / 484.8 MB, free: 89.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/0.6528, allocations: 132 kB / 484.9 MB, free: 89.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006071/0.6589, allocations: 2.151 MB / 487 MB, free: 86.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00451/0.6634, allocations: 1.483 MB / 488.5 MB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.6752, allocations: 9.817 MB / 498.3 MB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005836/0.681, allocations: 447.3 kB / 498.8 MB, free: 75.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/0.682, allocations: 384 kB / 499.2 MB, free: 74.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 (801): * Single equations (assignments): 797 * 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,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004131/0.6861, allocations: 2.491 MB / 0.4899 GB, free: 72.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/0.6873, allocations: 449.4 kB / 0.4903 GB, free: 71.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008636/0.696, allocations: 4.977 MB / 0.4952 GB, free: 66.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.456e-05/0.696, allocations: 24 kB / 0.4952 GB, free: 66.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/0.696, allocations: 8 kB / 0.4952 GB, free: 66.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.655e-05/0.6961, allocations: 13.84 kB / 0.4952 GB, free: 66.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/0.7153, allocations: 10.16 MB / 0.5051 GB, free: 56.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-05/0.7153, allocations: 8 kB / 0.5052 GB, free: 56.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.7169, allocations: 355.4 kB / 0.5055 GB, free: 56.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005575/0.7225, allocations: 1.906 MB / 0.5074 GB, free: 54.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004185/0.7229, allocations: 47.98 kB / 0.5074 GB, free: 54.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/0.7333, allocations: 8.417 MB / 0.5156 GB, free: 45.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.7333, allocations: 11.94 kB / 0.5156 GB, free: 45.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/0.7458, allocations: 8.147 MB / 0.5236 GB, free: 37.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/0.7472, allocations: 397.2 kB / 0.524 GB, free: 37.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007029/0.7479, allocations: 54.44 kB / 0.524 GB, free: 36.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/0.75, allocations: 203.6 kB / 0.5242 GB, free: 36.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/0.7504, allocations: 160.8 kB / 0.5244 GB, free: 36.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.7505, allocations: 64 kB / 0.5244 GB, free: 36.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003227/0.7538, allocations: 2.632 MB / 0.527 GB, free: 33.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7538, allocations: 0 / 0.527 GB, free: 33.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006761/0.7605, allocations: 1.367 MB / 0.5283 GB, free: 32.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (179): * Single equations (assignments): 175 * 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,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007861/0.7613, allocations: 266.2 kB / 0.5286 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008325/0.7696, allocations: 5.883 MB / 0.5343 GB, free: 26.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/0.7696, allocations: 0 / 0.5343 GB, free: 26.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002651/0.7723, allocations: 1.941 MB / 0.5362 GB, free: 24.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/0.7765, allocations: 0.5142 MB / 0.5367 GB, free: 23.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/0.798, allocations: 11.58 MB / 0.548 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005986/0.804, allocations: 3.35 MB / 0.5513 GB, free: 8.848 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004565/0.8086, allocations: 1.922 MB / 0.5532 GB, free: 6.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.8097, allocations: 256.5 kB / 0.5534 GB, free: 6.672 MB / 378.7 MB Notification: Performance of SimCode: time 1.793e-06/0.8097, allocations: 0 / 0.5534 GB, free: 6.672 MB / 378.7 MB Notification: Performance of Templates: time 0.1832/0.9929, allocations: 42.95 MB / 0.5954 GB, free: 92.3 MB / 378.7 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.855967261013575]