Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.001433/0.001433, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001449/0.001449, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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 1.474/1.474, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 59.89 kB / 379 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2802, allocations: 53.4 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004004/0.2842, allocations: 2.468 MB / 434.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2855, allocations: 0.6739 MB / 435.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.2856, allocations: 7.938 kB / 435.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.2857, allocations: 39.58 kB / 435.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.2859, allocations: 63.42 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.2862, allocations: 75.83 kB / 435.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.2866, allocations: 258.8 kB / 436 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.2868, allocations: 77.56 kB / 436.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.2871, allocations: 107.6 kB / 436.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.2873, allocations: 115.5 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.2873, allocations: 20 kB / 436.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.2874, allocations: 24 kB / 436.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.2874, allocations: 43.84 kB / 436.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.2876, allocations: 127.4 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.2879, allocations: 264.1 kB / 436.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2879, allocations: 0 / 436.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2879, allocations: 0 / 436.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.2879, allocations: 0 / 436.8 MB, free: 2.418 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.0008249/0.2887, allocations: 465.5 kB / 437.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2888, allocations: 12.03 kB / 437.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.289, allocations: 44.73 kB / 437.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.2894, allocations: 186.9 kB / 437.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2895, allocations: 12.81 kB / 437.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.2895, allocations: 24.33 kB / 437.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.29, allocations: 221.3 kB / 437.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.29, allocations: 0 / 437.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.29, allocations: 8 kB / 437.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.29, allocations: 8 kB / 437.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.2903, allocations: 147.8 kB / 437.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.2915, allocations: 0.7473 MB / 438.6 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.292, allocations: 185 kB / 438.8 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.2922, allocations: 97.67 kB / 438.9 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.2922, allocations: 0 / 438.9 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.2923, allocations: 42.69 kB / 438.9 MB, free: 92 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 3.116e-06/0.2923, allocations: 3.984 kB / 438.9 MB, free: 88 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.0016/0.2939, allocations: 0.7268 MB / 439.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.2939, allocations: 85.09 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2941, allocations: 187.1 kB / 439.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.2941, allocations: 29.7 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2943, allocations: 136.5 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.2943, allocations: 103.1 kB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.462e-05/0.2944, allocations: 49.7 kB / 440.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2946, allocations: 334.8 kB / 440.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.2947, allocations: 63.91 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.2949, allocations: 104.2 kB / 440.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.2952, allocations: 190.9 kB / 440.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2952, allocations: 0 / 440.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004333/0.2957, allocations: 249.2 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2957, allocations: 8.094 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2957, allocations: 4.391 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2957, allocations: 0 / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.296, allocations: 59.91 kB / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.296, allocations: 4 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.2961, allocations: 11.98 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.2961, allocations: 12 kB / 441.3 MB, free: 13.62 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.0001314/0.2962, allocations: 137.7 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.2963, allocations: 27.86 kB / 441.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.323e-05/0.2964, allocations: 29.8 kB / 441.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2964, allocations: 4 kB / 441.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2964, allocations: 0 / 441.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2964, allocations: 0 / 441.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008574/0.2972, allocations: 0.5621 MB / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2972, allocations: 0 / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.2975, allocations: 63.91 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.2975, allocations: 4 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2975, allocations: 4 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2975, allocations: 7.984 kB / 442.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.2975, allocations: 7.875 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.2982, allocations: 497.8 kB / 442.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.2982, allocations: 19.94 kB / 442.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.2983, allocations: 8 kB / 442.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.2984, allocations: 11.94 kB / 442.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.2985, allocations: 23.84 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.2985, allocations: 12 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.2986, allocations: 132.5 kB / 442.8 MB, free: 12 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2986, allocations: 0 / 442.8 MB, free: 12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003359/0.299, allocations: 48 kB / 442.8 MB, free: 11.95 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.0001239/0.2991, allocations: 99.25 kB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.2995, allocations: 178.5 kB / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2995, allocations: 0 / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.2997, allocations: 95.77 kB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.3002, allocations: 38.88 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.3014, allocations: 0.7256 MB / 444 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.3018, allocations: 0.7402 MB / 444.7 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.3019, allocations: 23.42 kB / 444.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3019, allocations: 0 / 444.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of Templates: time 0.005056/0.307, allocations: 2.668 MB / 447.4 MB, free: 7.309 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.42439109319821]