Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.001784/0.001784, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002229/0.002229, allocations: 208.5 kB / 24.48 MB, free: 3.941 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.529/1.529, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.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.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 51.92 kB / 379 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2601, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003685/0.2637, allocations: 2.305 MB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2649, allocations: 0.631 MB / 435.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.265, allocations: 7.938 kB / 435.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.2651, allocations: 35.64 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.2653, allocations: 67.36 kB / 435.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.2656, allocations: 79.83 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.2659, allocations: 258.8 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.2661, allocations: 73.62 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.2663, allocations: 111.6 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.2664, allocations: 91.55 kB / 436 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.2665, allocations: 20 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-05/0.2666, allocations: 24 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.2666, allocations: 47.78 kB / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.2667, allocations: 99.58 kB / 436.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.2671, allocations: 260.2 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2671, allocations: 3.984 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2671, allocations: 0 / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2671, allocations: 8 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008023/0.2679, allocations: 461.5 kB / 436.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2679, allocations: 8.031 kB / 436.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.2681, allocations: 48.72 kB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.2685, allocations: 190.9 kB / 437.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2685, allocations: 16.81 kB / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.2686, allocations: 24.33 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.269, allocations: 217.3 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.269, allocations: 7.938 kB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.269, allocations: 4 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.269, allocations: 4 kB / 437.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.2693, allocations: 154.8 kB / 437.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.2705, allocations: 0.6581 MB / 438.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.2709, allocations: 189 kB / 438.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.2711, allocations: 93.83 kB / 438.5 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.2711, allocations: 11.97 kB / 438.5 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.2712, allocations: 38.5 kB / 438.5 MB, free: 392 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.2712, allocations: 4 kB / 438.5 MB, free: 388 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001542/0.2727, allocations: 0.7243 MB / 439.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.2728, allocations: 85.05 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.2729, allocations: 159.3 kB / 439.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.273, allocations: 29.7 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.273, allocations: 148.4 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.45e-05/0.2731, allocations: 103.2 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-05/0.2732, allocations: 49.69 kB / 439.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2734, allocations: 326.8 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.2735, allocations: 63.97 kB / 440.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.2737, allocations: 109.3 kB / 440.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.2741, allocations: 188.2 kB / 440.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2741, allocations: 0 / 440.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004408/0.2745, allocations: 248 kB / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2745, allocations: 8 kB / 440.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2745, allocations: 0 / 440.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2745, allocations: 4 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.2748, allocations: 63.91 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2748, allocations: 4.094 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.2749, allocations: 15.94 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.2749, allocations: 7.984 kB / 440.8 MB, free: 13.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001254/0.275, allocations: 137.8 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.2751, allocations: 23.8 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.2752, allocations: 25.81 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2752, allocations: 4 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2752, allocations: 0 / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2752, allocations: 11.92 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008102/0.276, allocations: 0.4887 MB / 441.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.276, allocations: 0 / 441.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.2763, allocations: 59.89 kB / 441.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2763, allocations: 4 kB / 441.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.2763, allocations: 8 kB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2763, allocations: 0 / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2763, allocations: 0 / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000681/0.277, allocations: 0.4893 MB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.277, allocations: 15.86 kB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.277, allocations: 12.03 kB / 442.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.2772, allocations: 8 kB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.2773, allocations: 23.91 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.2773, allocations: 4 kB / 442.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.67e-05/0.2774, allocations: 131.2 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2774, allocations: 3.938 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000336/0.2777, allocations: 48 kB / 442.3 MB, free: 12.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * 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.0001341/0.2778, allocations: 111.2 kB / 442.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.2782, allocations: 171.7 kB / 442.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2782, allocations: 4 kB / 442.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.2784, allocations: 88.39 kB / 442.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.2789, allocations: 44.48 kB / 442.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.2801, allocations: 0.7202 MB / 443.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.2802, allocations: 137.8 kB / 443.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.2803, allocations: 23.44 kB / 443.6 MB, free: 11 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2803, allocations: 0 / 443.6 MB, free: 11 MB / 350.1 MB Notification: Performance of Templates: time 0.004767/0.2851, allocations: 2.723 MB / 446.3 MB, free: 8.285 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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: 7.229053327348083]