Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001406/0.001406, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001589/0.001589, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.6e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01729/0.01733, allocations: 11.76 MB / 284.1 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.02882, allocations: 4.662 MB / 288.7 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/0.03152, allocations: 103.5 kB / 288.8 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1356/0.1671, allocations: 4.325 MB / 293.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005947/0.1731, allocations: 2.259 MB / 295.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.1758, allocations: 1.223 MB / 296.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008845/0.1847, allocations: 6.801 MB / 303.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005629/0.1903, allocations: 4.703 MB / 308.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005035/0.1954, allocations: 3.273 MB / 311.4 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00423/0.1996, allocations: 3.125 MB / 314.5 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009364/0.2005, allocations: 0.5078 MB / 315 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.2031, allocations: 1.576 MB / 316.6 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001874/0.205, allocations: 2.767 MB / 319.4 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002866/0.2079, allocations: 1.754 MB / 321.1 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01518/0.223, allocations: 9.745 MB / 330.9 MB, free: 5.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.223, allocations: 0 / 330.9 MB, free: 5.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.223, allocations: 4 kB / 330.9 MB, free: 5.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000313/0.2234, allocations: 4 kB / 330.9 MB, free: 5.711 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.0163/0.2397, allocations: 6.176 MB / 337.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.2397, allocations: 12.03 kB / 337.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/0.2531, allocations: 3.285 MB / 340.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009631/0.2627, allocations: 3.696 MB / 344.1 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/0.2631, allocations: 304.4 kB / 344.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00177/0.2649, allocations: 441.6 kB / 344.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02907/0.2939, allocations: 12.59 MB / 357.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003284/0.2943, allocations: 47.08 kB / 357.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/0.2955, allocations: 183.2 kB / 357.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003783/0.2993, allocations: 2.046 MB / 359.7 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0256/0.3249, allocations: 10.63 MB / 370.3 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06684/0.3917, allocations: 41.31 MB / 411.6 MB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/0.4056, allocations: 4.379 MB / 416 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003327/0.4089, allocations: 1.941 MB / 417.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/0.4223, allocations: 6.049 MB / 424 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.8e-05/0.4224, allocations: 59.8 kB / 424 MB, free: 7.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=181): time 5.37e-06/0.4224, allocations: 0 / 424 MB, free: 7.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=227): time 0.2057/0.628, allocations: 25.52 MB / 449.5 MB, free: 116.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.6281, allocations: 209.5 kB / 449.7 MB, free: 116.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004412/0.6325, allocations: 4.423 MB / 454.2 MB, free: 114.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.6327, allocations: 57.56 kB / 454.2 MB, free: 114.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.6341, allocations: 3.623 MB / 457.8 MB, free: 111.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005977/0.6347, allocations: 0.8842 MB / 458.7 MB, free: 111.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/0.6361, allocations: 1.325 MB / 460.1 MB, free: 110.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.6362, allocations: 303.3 kB / 460.4 MB, free: 110.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/0.639, allocations: 2.548 MB / 462.9 MB, free: 107.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003931/0.643, allocations: 6.362 MB / 469.3 MB, free: 99.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007555/0.6505, allocations: 9.513 MB / 478.8 MB, free: 88.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.836e-05/0.6506, allocations: 43.94 kB / 478.8 MB, free: 88.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.01624/0.6668, allocations: 10.67 MB / 489.5 MB, free: 77.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.757e-05/0.6669, allocations: 64 kB / 489.5 MB, free: 77.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/0.667, allocations: 128 kB / 489.7 MB, free: 77.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005757/0.6728, allocations: 2.155 MB / 491.8 MB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004232/0.677, allocations: 1.478 MB / 493.3 MB, free: 73.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.6889, allocations: 9.823 MB / 0.4913 GB, free: 63.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006091/0.695, allocations: 453.5 kB / 0.4918 GB, free: 63.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/0.6961, allocations: 384 kB / 0.4921 GB, free: 63.06 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.003938/0.7, allocations: 2.486 MB / 0.4946 GB, free: 60.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/0.7013, allocations: 455.2 kB / 0.495 GB, free: 60.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008978/0.7103, allocations: 4.969 MB / 0.4999 GB, free: 55.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.847e-05/0.7103, allocations: 24 kB / 0.4999 GB, free: 55.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.934e-05/0.7104, allocations: 8 kB / 0.4999 GB, free: 55.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.139e-05/0.7104, allocations: 11.95 kB / 0.4999 GB, free: 55.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02351/0.7339, allocations: 10.16 MB / 0.5098 GB, free: 44.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-05/0.7339, allocations: 8 kB / 0.5098 GB, free: 44.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.7355, allocations: 359.4 kB / 0.5102 GB, free: 44.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005688/0.7412, allocations: 1.914 MB / 0.512 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003075/0.7415, allocations: 47.81 kB / 0.5121 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.7522, allocations: 8.41 MB / 0.5203 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.7522, allocations: 11.94 kB / 0.5203 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/0.7646, allocations: 8.154 MB / 0.5283 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.7659, allocations: 401.8 kB / 0.5286 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009972/0.7669, allocations: 53.72 kB / 0.5287 GB, free: 25.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002521/0.7694, allocations: 202.7 kB / 0.5289 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004566/0.7699, allocations: 160.9 kB / 0.529 GB, free: 24.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/0.7701, allocations: 63.98 kB / 0.5291 GB, free: 24.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004205/0.7743, allocations: 2.628 MB / 0.5317 GB, free: 22.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7743, allocations: 0 / 0.5317 GB, free: 22.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006363/0.7806, allocations: 1.351 MB / 0.533 GB, free: 20.9 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.0008076/0.7814, allocations: 250.4 kB / 0.5332 GB, free: 20.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008452/0.7899, allocations: 5.89 MB / 0.539 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.7899, allocations: 8.188 kB / 0.539 GB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002687/0.7926, allocations: 1.945 MB / 0.5409 GB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004157/0.7967, allocations: 0.5068 MB / 0.5414 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/0.8153, allocations: 11.58 MB / 0.5527 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006633/0.8219, allocations: 3.353 MB / 0.556 GB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005594/0.8275, allocations: 1.911 MB / 0.5578 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/0.8288, allocations: 260.5 kB / 0.5581 GB, free: 11.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.713e-06/0.8288, allocations: 4 kB / 0.5581 GB, free: 11.02 MB / 394.7 MB Notification: Performance of Templates: time 0.1918/1.021, allocations: 42.69 MB / 0.5998 GB, free: 99.75 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.922596062067896]