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.001638/0.001638, allocations: 84.94 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001808/0.001808, allocations: 163.7 kB / 23.95 MB, free: 4.156 MB / 14.72 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.447/1.447, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 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.543e-06/1.543e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.719e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01534/0.01537, allocations: 11.78 MB / 336.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.02696, allocations: 4.66 MB / 341.5 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.02974, allocations: 107.4 kB / 341.6 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008898/0.03864, allocations: 4.268 MB / 345.9 MB, free: 296 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00719/0.04583, allocations: 2.251 MB / 348.1 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.04905, allocations: 1.201 MB / 349.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0108/0.05985, allocations: 6.814 MB / 356.1 MB, free: 6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007745/0.06759, allocations: 4.568 MB / 360.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00736/0.07495, allocations: 3.29 MB / 364 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005528/0.08048, allocations: 3.098 MB / 367.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00151/0.08199, allocations: 0.5078 MB / 367.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003953/0.08594, allocations: 1.568 MB / 369.2 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003691/0.08963, allocations: 2.763 MB / 371.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003803/0.09343, allocations: 1.753 MB / 373.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.1055, allocations: 9.702 MB / 383.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1055, allocations: 0 / 383.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1055, allocations: 4 kB / 383.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002166/0.1057, allocations: 0 / 383.4 MB, free: 10.62 MB / 350.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.01434/0.1201, allocations: 6.139 MB / 389.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1201, allocations: 8.031 kB / 389.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/0.1324, allocations: 2.708 MB / 392.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009594/0.142, allocations: 3.686 MB / 395.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.1422, allocations: 300.3 kB / 396.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/0.1437, allocations: 448.4 kB / 396.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02355/0.1673, allocations: 12.5 MB / 409.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.1674, allocations: 47.62 kB / 409.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005159/0.1679, allocations: 191.9 kB / 409.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003368/0.1713, allocations: 2.031 MB / 411.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0222/0.1935, allocations: 10.55 MB / 422 MB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05596/0.2494, allocations: 41 MB / 463 MB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/0.2631, allocations: 4.412 MB / 467.4 MB, free: 4.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002815/0.2659, allocations: 1.882 MB / 469.3 MB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1729/0.4389, allocations: 5.917 MB / 475.2 MB, free: 124.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.4389, allocations: 54.59 kB / 475.2 MB, free: 124.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=179): time 6.202e-06/0.4389, allocations: 1.094 kB / 475.2 MB, free: 124.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.06458/0.5035, allocations: 20.47 MB / 495.7 MB, free: 118.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.5036, allocations: 216.9 kB / 495.9 MB, free: 118.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00449/0.5081, allocations: 4.459 MB / 0.4887 GB, free: 113.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.5083, allocations: 61.45 kB / 0.4887 GB, free: 113.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.5097, allocations: 3.648 MB / 0.4923 GB, free: 110.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006735/0.5104, allocations: 0.8615 MB / 0.4931 GB, free: 109.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/0.5118, allocations: 1.326 MB / 0.4944 GB, free: 108.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.5118, allocations: 301.1 kB / 0.4947 GB, free: 108.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/0.5145, allocations: 2.367 MB / 0.497 GB, free: 105.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/0.5183, allocations: 6.217 MB / 0.5031 GB, free: 97.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007332/0.5257, allocations: 9.176 MB / 0.5121 GB, free: 86.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.382e-05/0.5257, allocations: 40 kB / 0.5121 GB, free: 86.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01381/0.5395, allocations: 9.523 MB / 0.5214 GB, free: 77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.692e-05/0.5396, allocations: 70.72 kB / 0.5215 GB, free: 76.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.854e-05/0.5397, allocations: 132 kB / 0.5216 GB, free: 76.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00373/0.5434, allocations: 1.367 MB / 0.5229 GB, free: 75.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/0.5472, allocations: 1.478 MB / 0.5244 GB, free: 73.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.5574, allocations: 8.262 MB / 0.5324 GB, free: 65.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00483/0.5622, allocations: 419.5 kB / 0.5328 GB, free: 65.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005888/0.5628, allocations: 388 kB / 0.5332 GB, free: 64.81 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.003665/0.5665, allocations: 2.492 MB / 0.5356 GB, free: 62.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/0.5676, allocations: 389.4 kB / 0.536 GB, free: 61.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008008/0.5756, allocations: 4.076 MB / 0.54 GB, free: 57.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.509e-05/0.5756, allocations: 24 kB / 0.54 GB, free: 57.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.218e-05/0.5756, allocations: 8 kB / 0.54 GB, free: 57.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/0.5757, allocations: 7.969 kB / 0.54 GB, free: 57.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/0.5938, allocations: 8.741 MB / 0.5486 GB, free: 48.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.5938, allocations: 15.94 kB / 0.5486 GB, free: 48.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.5953, allocations: 335.4 kB / 0.5489 GB, free: 48.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003628/0.5989, allocations: 1.144 MB / 0.55 GB, free: 47.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/0.5992, allocations: 43.98 kB / 0.5501 GB, free: 47.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008922/0.6081, allocations: 6.963 MB / 0.5569 GB, free: 40.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.6081, allocations: 8 kB / 0.5569 GB, free: 40.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.6192, allocations: 6.884 MB / 0.5636 GB, free: 33.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.6206, allocations: 401.2 kB / 0.564 GB, free: 33.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/0.6218, allocations: 36 kB / 0.564 GB, free: 33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/0.6244, allocations: 159.8 kB / 0.5642 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004659/0.6249, allocations: 156.8 kB / 0.5643 GB, free: 32.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/0.6251, allocations: 68 kB / 0.5644 GB, free: 32.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005748/0.6309, allocations: 2.644 MB / 0.5669 GB, free: 29.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6309, allocations: 0 / 0.5669 GB, free: 29.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00795/0.6388, allocations: 1.32 MB / 0.5682 GB, free: 28.64 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.0009744/0.6398, allocations: 241.3 kB / 0.5685 GB, free: 28.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009345/0.6491, allocations: 5.531 MB / 0.5739 GB, free: 22.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/0.6491, allocations: 448 / 0.5739 GB, free: 22.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002868/0.652, allocations: 1.758 MB / 0.5756 GB, free: 21.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004534/0.6565, allocations: 488.5 kB / 0.5761 GB, free: 20.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/0.677, allocations: 11.21 MB / 0.587 GB, free: 9.336 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004425/0.6814, allocations: 3.35 MB / 0.5903 GB, free: 5.945 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004004/0.6854, allocations: 1.893 MB / 0.5921 GB, free: 4.047 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009026/0.6863, allocations: 268.4 kB / 0.5924 GB, free: 3.785 MB / 430.1 MB Notification: Performance of SimCode: time 1.823e-06/0.6863, allocations: 0 / 0.5924 GB, free: 3.785 MB / 430.1 MB Notification: Performance of Templates: time 0.2588/0.9451, allocations: 39.77 MB / 0.6312 GB, free: 157.2 MB / 478.1 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.723931532353163]