Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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.001747/0.001747, allocations: 81.84 kB / 21.99 MB, free: 4.754 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.002049/0.002049, allocations: 153.8 kB / 25.25 MB, free: 2.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 158.6 MB / 187 MB, free: 6.332 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 55.92 kB / 299.3 MB, free: 6.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2365, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003522/0.2401, allocations: 2.231 MB / 350.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004681/0.2405, allocations: 239.1 kB / 351 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.2406, allocations: 7.938 kB / 351 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.2408, allocations: 47.58 kB / 351 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.2409, allocations: 79.27 kB / 351.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.2411, allocations: 63.92 kB / 351.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.2414, allocations: 294.6 kB / 351.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.2416, allocations: 66.05 kB / 351.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2417, allocations: 115.6 kB / 351.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.2419, allocations: 103.5 kB / 351.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.242, allocations: 20 kB / 351.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.54e-05/0.242, allocations: 24 kB / 351.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.2421, allocations: 51.83 kB / 351.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.2422, allocations: 111.5 kB / 351.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.2425, allocations: 289.4 kB / 352.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2425, allocations: 4 kB / 352.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2425, allocations: 0 / 352.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.2425, allocations: 0 / 352.2 MB, free: 11.82 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007883/0.2433, allocations: 485.5 kB / 352.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2434, allocations: 15.98 kB / 352.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.2434, allocations: 32.75 kB / 352.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.2437, allocations: 186.8 kB / 352.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.2438, allocations: 16.88 kB / 352.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.2438, allocations: 28.31 kB / 352.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.2442, allocations: 251 kB / 353.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.2442, allocations: 8.078 kB / 353.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.2443, allocations: 19.92 kB / 353.2 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2443, allocations: 4 kB / 353.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.2445, allocations: 159.8 kB / 353.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009617/0.2455, allocations: 0.6643 MB / 354 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.246, allocations: 275.7 kB / 354.3 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.2463, allocations: 126.5 kB / 354.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.2463, allocations: 4 kB / 354.4 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.2463, allocations: 38.56 kB / 354.5 MB, free: 9.375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.2463, allocations: 0 / 354.5 MB, free: 9.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002514/0.2488, allocations: 1.499 MB / 356 MB, free: 7.723 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/0.2489, allocations: 110.8 kB / 356.1 MB, free: 7.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.2491, allocations: 163.2 kB / 356.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.2491, allocations: 37.7 kB / 356.3 MB, free: 7.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2492, allocations: 140.8 kB / 356.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.2493, allocations: 174.8 kB / 356.6 MB, free: 7.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2494, allocations: 74.19 kB / 356.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2496, allocations: 334.8 kB / 357 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.2497, allocations: 96.91 kB / 357.1 MB, free: 6.555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.25, allocations: 158.9 kB / 357.2 MB, free: 6.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.2503, allocations: 275 kB / 357.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2504, allocations: 0 / 357.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000502/0.2509, allocations: 337.2 kB / 357.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2509, allocations: 4 kB / 357.8 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2509, allocations: 8.094 kB / 357.9 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.2509, allocations: 11.92 kB / 357.9 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.2512, allocations: 87.91 kB / 357.9 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2512, allocations: 7.984 kB / 358 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.2514, allocations: 8 kB / 358 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.2514, allocations: 16 kB / 358 MB, free: 5.609 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.2515, allocations: 149.7 kB / 358.1 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.2516, allocations: 31.8 kB / 358.2 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.326e-05/0.2517, allocations: 37.75 kB / 358.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.2517, allocations: 8 kB / 358.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2517, allocations: 4 kB / 358.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.2517, allocations: 3.984 kB / 358.2 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.253, allocations: 0.9448 MB / 359.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.253, allocations: 0 / 359.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.2534, allocations: 96.17 kB / 359.2 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.2534, allocations: 4 kB / 359.3 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.2534, allocations: 20 kB / 359.3 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.2534, allocations: 7.938 kB / 359.3 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.2535, allocations: 3.938 kB / 359.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008143/0.2543, allocations: 0.7218 MB / 360 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.2543, allocations: 23.81 kB / 360 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.2543, allocations: 16 kB / 360 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.2546, allocations: 12 kB / 360.1 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.2546, allocations: 35.94 kB / 360.1 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.2546, allocations: 16 kB / 360.1 MB, free: 3.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.2548, allocations: 123.5 kB / 360.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2548, allocations: 0 / 360.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000446/0.2552, allocations: 75.94 kB / 360.3 MB, free: 3.164 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.2553, allocations: 119.1 kB / 360.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.2558, allocations: 252 kB / 360.7 MB, free: 2.789 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2558, allocations: 192 / 360.7 MB, free: 2.789 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.256, allocations: 143.7 kB / 360.8 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.2567, allocations: 61.92 kB / 360.9 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2581, allocations: 0.9132 MB / 361.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.2583, allocations: 159.8 kB / 361.9 MB, free: 1.441 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.2584, allocations: 38.94 kB / 362 MB, free: 1.398 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.2585, allocations: 28.5 kB / 362 MB, free: 1.371 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2585, allocations: 0 / 362 MB, free: 1.371 MB / 318.1 MB Notification: Performance of Templates: time 0.006934/0.2654, allocations: 2.944 MB / 364.9 MB, free: 14.42 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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: 4.352892615948804]