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.0009488/0.0009488, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.0009708/0.0009708, allocations: 161 kB / 24.56 MB, free: 20 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 0.9713/0.9713, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.363e-06/1.363e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.783e-05, allocations: 6.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.009986/0.01, allocations: 13.1 MB / 286.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1254/0.1355, allocations: 4.786 MB / 290.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.1378, allocations: 103.5 kB / 291 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00584/0.1437, allocations: 4.503 MB / 295.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00426/0.1479, allocations: 2.254 MB / 297.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.1496, allocations: 1.228 MB / 298.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006208/0.1559, allocations: 6.806 MB / 305.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004175/0.16, allocations: 4.705 MB / 310.5 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004141/0.1642, allocations: 3.305 MB / 313.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.1672, allocations: 3.216 MB / 317 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006402/0.1678, allocations: 0.5039 MB / 317.5 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.1696, allocations: 1.568 MB / 319.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.1712, allocations: 2.785 MB / 321.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001827/0.173, allocations: 1.764 MB / 323.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00537/0.1784, allocations: 6.087 MB / 329.7 MB, free: 7.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1784, allocations: 0 / 329.7 MB, free: 7.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1784, allocations: 4 kB / 329.7 MB, free: 7.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001465/0.1785, allocations: 0 / 329.7 MB, free: 7.617 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.007108/0.1856, allocations: 6.57 MB / 336.3 MB, free: 1.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1857, allocations: 8.031 kB / 336.3 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006556/0.1922, allocations: 3.202 MB / 339.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/0.1965, allocations: 3.338 MB / 342.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.1967, allocations: 310 kB / 343.1 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005549/0.1972, allocations: 437.9 kB / 343.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009606/0.2068, allocations: 7.589 MB / 351.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-05/0.2069, allocations: 43.45 kB / 351.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/0.2072, allocations: 193.3 kB / 351.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00173/0.2089, allocations: 2.035 MB / 353.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008413/0.2174, allocations: 4.28 MB / 357.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03209/0.2494, allocations: 47.15 MB / 404.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006086/0.2555, allocations: 3.029 MB / 407.9 MB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009038/0.2564, allocations: 0.6975 MB / 408.6 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0055/0.2619, allocations: 4.61 MB / 413.2 MB, free: 2.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.262, allocations: 54.39 kB / 413.2 MB, free: 2.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=179): time 3.877e-06/0.262, allocations: 0 / 413.2 MB, free: 2.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.02946/0.2914, allocations: 15.5 MB / 428.7 MB, free: 2.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.2915, allocations: 209.9 kB / 428.9 MB, free: 2.488 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1346/0.4261, allocations: 3.885 MB / 432.8 MB, free: 113.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004336/0.4265, allocations: 57.36 kB / 432.9 MB, free: 113.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001998/0.4285, allocations: 3.822 MB / 436.7 MB, free: 112.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007438/0.4293, allocations: 0.8938 MB / 437.6 MB, free: 112 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001987/0.4312, allocations: 1.423 MB / 439 MB, free: 111.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.4313, allocations: 479.9 kB / 439.5 MB, free: 111.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.433, allocations: 0.7954 MB / 440.3 MB, free: 111.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0031/0.4361, allocations: 6.447 MB / 446.7 MB, free: 104.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005099/0.4412, allocations: 7.962 MB / 454.7 MB, free: 96.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.538e-05/0.4413, allocations: 43.31 kB / 454.7 MB, free: 96.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.009395/0.4507, allocations: 6.402 MB / 461.1 MB, free: 95.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/0.4508, allocations: 64 kB / 461.2 MB, free: 95.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/0.4509, allocations: 131.3 kB / 461.3 MB, free: 95.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002394/0.4533, allocations: 1.021 MB / 462.3 MB, free: 95.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.4557, allocations: 1.471 MB / 463.8 MB, free: 94.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/0.4605, allocations: 4.592 MB / 468.4 MB, free: 91.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/0.4638, allocations: 416.9 kB / 468.8 MB, free: 91.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000349/0.4641, allocations: 389.8 kB / 469.2 MB, free: 91.7 MB / 378.7 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.001663/0.4658, allocations: 0.693 MB / 469.9 MB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005106/0.4663, allocations: 448 kB / 470.3 MB, free: 90.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.4696, allocations: 2.264 MB / 472.6 MB, free: 89.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.4697, allocations: 26.66 kB / 472.6 MB, free: 89.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.4697, allocations: 8 kB / 472.6 MB, free: 89.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.4697, allocations: 11.06 kB / 472.6 MB, free: 89.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008569/0.4783, allocations: 6.964 MB / 479.6 MB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.4783, allocations: 12.5 kB / 479.6 MB, free: 83.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.479, allocations: 330 kB / 479.9 MB, free: 83.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/0.481, allocations: 0.8098 MB / 480.7 MB, free: 82.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.4811, allocations: 45.55 kB / 480.8 MB, free: 82.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003693/0.4848, allocations: 3.559 MB / 484.3 MB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4848, allocations: 15.97 kB / 484.3 MB, free: 79.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004659/0.4895, allocations: 3.567 MB / 487.9 MB, free: 75.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006977/0.4902, allocations: 389.2 kB / 488.3 MB, free: 74.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.4904, allocations: 44 kB / 488.3 MB, free: 74.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008986/0.4913, allocations: 155.8 kB / 488.5 MB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.4915, allocations: 148.9 kB / 488.6 MB, free: 74.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.623e-05/0.4916, allocations: 71.19 kB / 488.7 MB, free: 74.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00178/0.4934, allocations: 1.715 MB / 490.4 MB, free: 72.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4934, allocations: 4.031 kB / 490.4 MB, free: 72.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0041/0.4975, allocations: 1.316 MB / 491.7 MB, free: 71.53 MB / 378.7 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.0004359/0.4979, allocations: 246.5 kB / 492 MB, free: 71.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004545/0.5025, allocations: 3.536 MB / 495.5 MB, free: 67.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.5025, allocations: 0 / 495.5 MB, free: 67.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.5035, allocations: 1.07 MB / 496.6 MB, free: 66.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.5051, allocations: 0.4969 MB / 497.1 MB, free: 66.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.5159, allocations: 9.175 MB / 0.4944 GB, free: 56.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.517, allocations: 1.53 MB / 0.4959 GB, free: 55.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002287/0.5193, allocations: 1.628 MB / 0.4975 GB, free: 53.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/0.5197, allocations: 264.5 kB / 0.4977 GB, free: 53.42 MB / 378.7 MB Notification: Performance of SimCode: time 2.084e-06/0.5198, allocations: 0 / 0.4977 GB, free: 53.42 MB / 378.7 MB Notification: Performance of Templates: time 0.04871/0.5685, allocations: 40.02 MB / 0.5368 GB, free: 14.02 MB / 378.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3046760321594775]