Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 91.5 kB / 21.19 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 156.5 kB / 24.55 MB, free: 24 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9749/0.9749, allocations: 177 MB / 204.8 MB, free: 5.234 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 272.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.199e-05, allocations: 2.312 kB / 272.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01009/0.01012, allocations: 13.11 MB / 286 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1327/0.1428, allocations: 4.782 MB / 290.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.145, allocations: 103.1 kB / 290.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00579/0.1508, allocations: 4.503 MB / 295.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005046/0.1559, allocations: 2.256 MB / 297.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.158, allocations: 1.231 MB / 298.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007304/0.1653, allocations: 6.796 MB / 305.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005042/0.1703, allocations: 4.725 MB / 310.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00624/0.1765, allocations: 4.256 MB / 314.7 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003721/0.1803, allocations: 3.178 MB / 317.8 MB, free: 2.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.1815, allocations: 0.5 MB / 318.3 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.1842, allocations: 1.578 MB / 319.9 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002524/0.1867, allocations: 2.788 MB / 322.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003154/0.1899, allocations: 1.758 MB / 324.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007498/0.1974, allocations: 6.086 MB / 330.6 MB, free: 6.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1974, allocations: 0 / 330.6 MB, free: 6.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1974, allocations: 3.281 kB / 330.6 MB, free: 6.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.00023/0.1976, allocations: 0 / 330.6 MB, free: 6.719 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.01046/0.2081, allocations: 6.58 MB / 337.1 MB, free: 176 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2081, allocations: 19.98 kB / 337.2 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008748/0.2168, allocations: 3.133 MB / 340.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004909/0.2218, allocations: 3.178 MB / 343.5 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.222, allocations: 306.4 kB / 343.8 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006795/0.2226, allocations: 433 kB / 344.2 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/0.2351, allocations: 7.586 MB / 351.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001487/0.2352, allocations: 51.62 kB / 351.8 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004039/0.2356, allocations: 186.3 kB / 352 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002124/0.2377, allocations: 1.984 MB / 354 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008516/0.2463, allocations: 4.189 MB / 358.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03605/0.2823, allocations: 47.41 MB / 405.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005611/0.2879, allocations: 2.637 MB / 408.2 MB, free: 7.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000897/0.2888, allocations: 0.5951 MB / 408.8 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006688/0.2955, allocations: 4.538 MB / 413.4 MB, free: 1.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.2955, allocations: 58.33 kB / 413.4 MB, free: 1.891 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 3.847e-06/0.2956, allocations: 0 / 413.4 MB, free: 1.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=207): time 0.02603/0.3216, allocations: 12.43 MB / 425.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.735e-05/0.3217, allocations: 209.2 kB / 426.1 MB, free: 5.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004229/0.3259, allocations: 3.95 MB / 430 MB, free: 1.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.3261, allocations: 55.03 kB / 430.1 MB, free: 1.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1324/0.4584, allocations: 3.868 MB / 433.9 MB, free: 113.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008808/0.4593, allocations: 0.8329 MB / 434.8 MB, free: 113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.4608, allocations: 1.428 MB / 436.2 MB, free: 112.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.4609, allocations: 478.8 kB / 436.7 MB, free: 112.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.4623, allocations: 0.6871 MB / 437.3 MB, free: 112.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003216/0.4655, allocations: 6.512 MB / 443.9 MB, free: 104.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006153/0.4717, allocations: 7.871 MB / 451.7 MB, free: 97.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001584/0.4718, allocations: 38.5 kB / 451.8 MB, free: 97.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.009039/0.4809, allocations: 5.69 MB / 457.5 MB, free: 95.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.4809, allocations: 66.62 kB / 457.5 MB, free: 95.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/0.4811, allocations: 136.9 kB / 457.7 MB, free: 95.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.4822, allocations: 0.4894 MB / 458.1 MB, free: 95.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/0.4849, allocations: 1.512 MB / 459.7 MB, free: 95.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.4874, allocations: 3.184 MB / 462.8 MB, free: 93.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/0.4906, allocations: 411.2 kB / 463.2 MB, free: 93.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004221/0.491, allocations: 392.9 kB / 463.6 MB, free: 93.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * 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 (823): * Single equations (assignments): 819 * 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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001495/0.4925, allocations: 0.7049 MB / 464.3 MB, free: 93.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005038/0.493, allocations: 447.7 kB / 464.8 MB, free: 93.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.4949, allocations: 1.378 MB / 466.1 MB, free: 92.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.4949, allocations: 22.62 kB / 466.2 MB, free: 92.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.4949, allocations: 7.75 kB / 466.2 MB, free: 92.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4949, allocations: 9.562 kB / 466.2 MB, free: 92.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007463/0.5024, allocations: 6.224 MB / 472.4 MB, free: 88.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.5024, allocations: 12 kB / 472.4 MB, free: 88.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/0.5031, allocations: 348.7 kB / 472.8 MB, free: 88.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007183/0.5038, allocations: 301.3 kB / 473.1 MB, free: 88.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.123e-05/0.5039, allocations: 47.75 kB / 473.1 MB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.5055, allocations: 2.415 MB / 475.5 MB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.5055, allocations: 11.94 kB / 475.5 MB, free: 85.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.5084, allocations: 2.833 MB / 478.4 MB, free: 82.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006444/0.5091, allocations: 397.7 kB / 478.8 MB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.5094, allocations: 50.17 kB / 478.8 MB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007842/0.5101, allocations: 139.4 kB / 478.9 MB, free: 82.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.5103, allocations: 147.4 kB / 479.1 MB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.586e-05/0.5104, allocations: 67.8 kB / 479.1 MB, free: 82.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001877/0.5123, allocations: 1.731 MB / 480.9 MB, free: 80.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5123, allocations: 0 / 480.9 MB, free: 80.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004152/0.5164, allocations: 1.198 MB / 482.1 MB, free: 79.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (172): * Single equations (assignments): 168 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000459/0.5169, allocations: 251.2 kB / 482.3 MB, free: 79.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004577/0.5215, allocations: 3.179 MB / 485.5 MB, free: 76.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.5215, allocations: 0 / 485.5 MB, free: 76.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009389/0.5224, allocations: 0.8374 MB / 486.3 MB, free: 75.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.5249, allocations: 0.5109 MB / 486.8 MB, free: 75.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.5364, allocations: 9.143 MB / 496 MB, free: 66.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/0.5376, allocations: 1.521 MB / 497.5 MB, free: 64.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002517/0.5401, allocations: 1.655 MB / 499.2 MB, free: 63.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/0.5406, allocations: 264.5 kB / 499.4 MB, free: 62.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.655e-06/0.5406, allocations: 0 / 499.4 MB, free: 62.88 MB / 378.7 MB Notification: Performance of Templates: time 0.04557/0.5862, allocations: 33.33 MB / 0.5203 GB, free: 30.21 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.014071400742978]