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.0009659/0.0009659, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009331/0.0009331, allocations: 161 kB / 24.56 MB, free: 12 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.8992/0.8992, allocations: 177.1 MB / 205 MB, free: 5.586 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 2.785e-06/2.785e-06, allocations: 0 / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.111e-05, allocations: 2.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01043/0.01046, allocations: 13.1 MB / 286.1 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1228/0.1332, allocations: 4.787 MB / 290.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.1351, allocations: 103.3 kB / 291 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007259/0.1424, allocations: 4.503 MB / 295.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007278/0.1496, allocations: 2.258 MB / 297.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.1522, allocations: 1.227 MB / 299 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006892/0.1591, allocations: 6.805 MB / 305.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004605/0.1637, allocations: 4.712 MB / 310.5 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00519/0.1688, allocations: 4.264 MB / 314.7 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.1722, allocations: 3.175 MB / 317.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.1732, allocations: 0.5039 MB / 318.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.1752, allocations: 1.573 MB / 320 MB, free: 0.918 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001956/0.1771, allocations: 2.785 MB / 322.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.1797, allocations: 1.755 MB / 324.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006218/0.1859, allocations: 6.088 MB / 330.6 MB, free: 6.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1859, allocations: 4 kB / 330.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1859, allocations: 0 / 330.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001747/0.1861, allocations: 4 kB / 330.6 MB, free: 6.809 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.009297/0.1954, allocations: 6.584 MB / 337.2 MB, free: 268 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1954, allocations: 8.031 kB / 337.2 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00671/0.2021, allocations: 3.129 MB / 340.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/0.2066, allocations: 3.188 MB / 343.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.2067, allocations: 305.8 kB / 343.8 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006948/0.2074, allocations: 445.4 kB / 344.3 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.2183, allocations: 7.579 MB / 351.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.2184, allocations: 42.41 kB / 351.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003491/0.2187, allocations: 187.1 kB / 352.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001639/0.2204, allocations: 1.992 MB / 354.1 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008241/0.2286, allocations: 4.183 MB / 358.2 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03616/0.2647, allocations: 47.41 MB / 405.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005538/0.2703, allocations: 2.636 MB / 408.3 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008289/0.2711, allocations: 0.5926 MB / 408.9 MB, free: 6.625 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006102/0.2772, allocations: 4.536 MB / 413.4 MB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.2773, allocations: 58.33 kB / 413.5 MB, free: 2.039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 4.078e-06/0.2773, allocations: 0 / 413.5 MB, free: 2.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=207): time 0.02447/0.3017, allocations: 12.44 MB / 425.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.3018, allocations: 197.2 kB / 426.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004093/0.3059, allocations: 3.946 MB / 430.1 MB, free: 1.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.306, allocations: 57.7 kB / 430.1 MB, free: 1.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1317/0.4377, allocations: 3.869 MB / 434 MB, free: 113.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008283/0.4385, allocations: 0.8364 MB / 434.8 MB, free: 113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001466/0.44, allocations: 1.428 MB / 436.2 MB, free: 112.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.4401, allocations: 477.9 kB / 436.7 MB, free: 112.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.4414, allocations: 0.691 MB / 437.4 MB, free: 112.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003105/0.4445, allocations: 6.502 MB / 443.9 MB, free: 104.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005099/0.4496, allocations: 7.877 MB / 451.8 MB, free: 97.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.597e-05/0.4497, allocations: 38.56 kB / 451.8 MB, free: 97.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.00825/0.458, allocations: 5.689 MB / 457.5 MB, free: 95.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.988e-05/0.458, allocations: 69 kB / 457.6 MB, free: 95.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/0.4581, allocations: 140.7 kB / 457.7 MB, free: 95.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.4592, allocations: 0.4889 MB / 458.2 MB, free: 95.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.4616, allocations: 1.511 MB / 459.7 MB, free: 95.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.4639, allocations: 3.183 MB / 462.9 MB, free: 93.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/0.4666, allocations: 407.5 kB / 463.3 MB, free: 93.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003226/0.4669, allocations: 394 kB / 463.7 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.001233/0.4681, allocations: 0.6985 MB / 464.4 MB, free: 93.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003894/0.4685, allocations: 456.6 kB / 464.8 MB, free: 93.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.4702, allocations: 1.375 MB / 466.2 MB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.4702, allocations: 26.28 kB / 466.2 MB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4702, allocations: 6.453 kB / 466.2 MB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.4703, allocations: 6.047 kB / 466.2 MB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006818/0.4771, allocations: 6.236 MB / 472.5 MB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4771, allocations: 8 kB / 472.5 MB, free: 88.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.4777, allocations: 343.2 kB / 472.8 MB, free: 88.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006985/0.4784, allocations: 303.2 kB / 473.1 MB, free: 88.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.854e-05/0.4785, allocations: 47.75 kB / 473.2 MB, free: 88.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.48, allocations: 2.416 MB / 475.6 MB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.48, allocations: 22.31 kB / 475.6 MB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.4825, allocations: 2.831 MB / 478.4 MB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.4829, allocations: 397.9 kB / 478.8 MB, free: 82.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.4832, allocations: 39.94 kB / 478.9 MB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007439/0.4839, allocations: 139.5 kB / 479 MB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.4841, allocations: 150.1 kB / 479.1 MB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.781e-05/0.4841, allocations: 70.42 kB / 479.2 MB, free: 82.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001549/0.4857, allocations: 1.737 MB / 480.9 MB, free: 80.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4857, allocations: 0 / 480.9 MB, free: 80.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003513/0.4892, allocations: 1.193 MB / 482.1 MB, free: 79.59 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.0004272/0.4896, allocations: 250.2 kB / 482.4 MB, free: 79.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004099/0.4937, allocations: 3.171 MB / 485.6 MB, free: 76.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4937, allocations: 5.812 kB / 485.6 MB, free: 76.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000792/0.4945, allocations: 0.8257 MB / 486.4 MB, free: 75.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.4962, allocations: 0.5131 MB / 486.9 MB, free: 75.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.5064, allocations: 9.159 MB / 496.1 MB, free: 66.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.5074, allocations: 1.526 MB / 497.6 MB, free: 64.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002355/0.5098, allocations: 1.651 MB / 499.2 MB, free: 63.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.5102, allocations: 256.5 kB / 499.5 MB, free: 62.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.733e-06/0.5102, allocations: 0 / 499.5 MB, free: 62.97 MB / 378.7 MB Notification: Performance of Templates: time 0.04615/0.5564, allocations: 33.34 MB / 0.5203 GB, free: 30.3 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: 3.8372186720371246]