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.001209/0.001209, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001024/0.001024, allocations: 161.4 kB / 25.61 MB, free: 8.582 MB / 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.9294/0.9294, allocations: 177.1 MB / 206 MB, free: 4.52 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.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 1.423e-06/1.423e-06, allocations: 3.938 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.924e-05, allocations: 3 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002599/0.002618, allocations: 2.429 MB / 276.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008585/0.003477, allocations: 0.6358 MB / 277.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.003575, allocations: 7.938 kB / 277.2 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.003678, allocations: 39.64 kB / 277.3 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.919e-05/0.003777, allocations: 73.22 kB / 277.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.004009, allocations: 79.83 kB / 277.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.004221, allocations: 266.7 kB / 277.7 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.00435, allocations: 66.19 kB / 277.8 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.004549, allocations: 164.2 kB / 277.9 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.004655, allocations: 75.77 kB / 278 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.004681, allocations: 24 kB / 278 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.597e-05/0.004737, allocations: 31.94 kB / 278 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.004767, allocations: 43.83 kB / 278.1 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.004822, allocations: 83.77 kB / 278.2 MB, free: 432 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005025, allocations: 175.4 kB / 278.3 MB, free: 256 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.005027, allocations: 0 / 278.3 MB, free: 256 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005027, allocations: 0 / 278.3 MB, free: 256 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.005032, allocations: 0 / 278.3 MB, free: 256 kB / 250.7 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.0004719/0.005504, allocations: 0.5546 MB / 278.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.005531, allocations: 8.031 kB / 278.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.005667, allocations: 56.73 kB / 279 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.005836, allocations: 193 kB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.005851, allocations: 16.81 kB / 279.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.005879, allocations: 24.33 kB / 279.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.006058, allocations: 181.1 kB / 279.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.006068, allocations: 4.188 kB / 279.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.006083, allocations: 11.94 kB / 279.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.006088, allocations: 4 kB / 279.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.006177, allocations: 75.86 kB / 279.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.006778, allocations: 0.7039 MB / 280.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.006985, allocations: 150.1 kB / 280.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.007076, allocations: 71.33 kB / 280.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.007094, allocations: 4 kB / 280.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.007117, allocations: 37.39 kB / 280.4 MB, free: 14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.172e-06/0.007119, allocations: 0 / 280.4 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.000966/0.008084, allocations: 0.5416 MB / 281 MB, free: 13.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.008118, allocations: 77.11 kB / 281 MB, free: 13.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.008213, allocations: 221.8 kB / 281.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.008224, allocations: 25.7 kB / 281.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.008295, allocations: 195.2 kB / 281.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.008344, allocations: 103.1 kB / 281.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.008395, allocations: 51.34 kB / 281.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.008511, allocations: 0.5001 MB / 282.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/0.008547, allocations: 23.97 kB / 282.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.008611, allocations: 83.97 kB / 282.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.008718, allocations: 125.6 kB / 282.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.008719, allocations: 0 / 282.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001762/0.008895, allocations: 181.4 kB / 282.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.008906, allocations: 4 kB / 282.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.008909, allocations: 0 / 282.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.008917, allocations: 7.938 kB / 282.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.009049, allocations: 59.91 kB / 282.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.009052, allocations: 0 / 282.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.009099, allocations: 11.95 kB / 282.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.00911, allocations: 11.98 kB / 282.6 MB, free: 11.63 MB / 266.7 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 7.623e-05/0.009186, allocations: 172.6 kB / 282.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.009226, allocations: 23.91 kB / 282.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.009258, allocations: 29.75 kB / 282.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.009262, allocations: 7.938 kB / 282.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.009264, allocations: 0 / 282.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.00927, allocations: 3.984 kB / 282.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.00967, allocations: 491.7 kB / 283.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.009673, allocations: 3.938 kB / 283.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.009809, allocations: 56.06 kB / 283.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.009811, allocations: 0 / 283.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.009822, allocations: 15.94 kB / 283.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.009825, allocations: 4 kB / 283.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009826, allocations: 0 / 283.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.01011, allocations: 485.8 kB / 283.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.01013, allocations: 27.78 kB / 283.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.01015, allocations: 8 kB / 283.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.01023, allocations: 8 kB / 283.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.01026, allocations: 11.97 kB / 283.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.01027, allocations: 16 kB / 284 MB, free: 10.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.96e-05/0.01033, allocations: 159.6 kB / 284.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01033, allocations: 0 / 284.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.01054, allocations: 52 kB / 284.2 MB, free: 10 MB / 266.7 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 7.924e-05/0.01062, allocations: 103.2 kB / 284.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.01077, allocations: 120.1 kB / 284.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01077, allocations: 0 / 284.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.768e-05/0.01084, allocations: 75.83 kB / 284.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.01113, allocations: 36.62 kB / 284.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.01189, allocations: 0.5931 MB / 285.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.075e-05/0.01194, allocations: 83.84 kB / 285.2 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.01199, allocations: 21.94 kB / 285.2 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.856e-05/0.01209, allocations: 110.1 kB / 285.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01209, allocations: 0 / 285.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of Templates: time 0.003727/0.01582, allocations: 2.235 MB / 287.5 MB, free: 6.594 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.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: 2.8151726401410997]