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.001342/0.001342, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001211/0.001211, allocations: 161.3 kB / 24.99 MB, free: 8.793 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 1.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.625 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 2.014e-06/2.014e-06, allocations: 0 / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.541e-05, allocations: 2.312 kB / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003843/0.003868, allocations: 2.441 MB / 275.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.005157, allocations: 0.6425 MB / 276.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.005305, allocations: 8 kB / 276.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.005459, allocations: 39.59 kB / 276.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.005613, allocations: 71.28 kB / 276.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.005944, allocations: 83.81 kB / 276.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.006277, allocations: 266.7 kB / 276.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.006459, allocations: 65.69 kB / 276.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.006733, allocations: 155.7 kB / 276.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.006881, allocations: 83.77 kB / 276.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.006918, allocations: 20 kB / 276.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-05/0.006983, allocations: 27.94 kB / 276.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.007027, allocations: 51.75 kB / 277 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.007113, allocations: 79.83 kB / 277.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.007392, allocations: 175.3 kB / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.007395, allocations: 3.938 kB / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.007396, allocations: 0 / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.007401, allocations: 0 / 277.2 MB, free: 13.64 MB / 266.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.0007033/0.008104, allocations: 0.5546 MB / 277.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.008143, allocations: 8.031 kB / 277.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.008368, allocations: 56.73 kB / 277.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.008634, allocations: 192.1 kB / 278 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.008654, allocations: 12.88 kB / 278.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.008696, allocations: 28.38 kB / 278.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.009042, allocations: 193.1 kB / 278.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.009057, allocations: 192 / 278.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.009082, allocations: 15.94 kB / 278.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.009093, allocations: 4 kB / 278.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.009362, allocations: 75.88 kB / 278.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/0.01013, allocations: 0.7463 MB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.01037, allocations: 162 kB / 279.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.01049, allocations: 75.33 kB / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.01051, allocations: 4 kB / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.01053, allocations: 37.62 kB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.674e-06/0.01053, allocations: 0 / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008689/0.0114, allocations: 0.6189 MB / 280 MB, free: 10.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.01143, allocations: 85.05 kB / 280.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.01154, allocations: 225.9 kB / 280.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.01156, allocations: 29.7 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.01163, allocations: 191.1 kB / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.01167, allocations: 99.31 kB / 280.6 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.01173, allocations: 51.36 kB / 280.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.01183, allocations: 0.504 MB / 281.2 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.01188, allocations: 27.98 kB / 281.2 MB, free: 9.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.01196, allocations: 95.45 kB / 281.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.01211, allocations: 134.4 kB / 281.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01211, allocations: 4 kB / 281.4 MB, free: 9.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002004/0.01231, allocations: 193.3 kB / 281.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.01232, allocations: 4 kB / 281.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01233, allocations: 11.88 kB / 281.6 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.01234, allocations: 3.984 kB / 281.6 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.0125, allocations: 55.92 kB / 281.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.01251, allocations: 7.984 kB / 281.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.01256, allocations: 8.094 kB / 281.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.01257, allocations: 12 kB / 281.7 MB, free: 8.812 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.233e-05/0.01264, allocations: 168.5 kB / 281.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.01268, allocations: 31.86 kB / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.01272, allocations: 29.73 kB / 281.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.01272, allocations: 4 kB / 281.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01273, allocations: 0 / 281.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01273, allocations: 0 / 281.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.01319, allocations: 0.5196 MB / 282.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01319, allocations: 4.031 kB / 282.5 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.01333, allocations: 55.91 kB / 282.5 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01333, allocations: 4 kB / 282.5 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.01334, allocations: 8 kB / 282.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01335, allocations: 0 / 282.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01335, allocations: 4 kB / 282.5 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.01367, allocations: 0.4907 MB / 283 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.01368, allocations: 23.89 kB / 283.1 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.01371, allocations: 11.98 kB / 283.1 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.01378, allocations: 12 kB / 283.1 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.01382, allocations: 19.91 kB / 283.1 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.01383, allocations: 8 kB / 283.1 MB, free: 7.324 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.006e-05/0.01389, allocations: 167.6 kB / 283.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01389, allocations: 0 / 283.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.01411, allocations: 55.94 kB / 283.3 MB, free: 7.105 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 8.015e-05/0.01419, allocations: 99.25 kB / 283.4 MB, free: 7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.01437, allocations: 128.6 kB / 283.5 MB, free: 6.875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01437, allocations: 4.062 kB / 283.6 MB, free: 6.871 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.387e-05/0.01444, allocations: 79.52 kB / 283.6 MB, free: 6.789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.01477, allocations: 40.67 kB / 283.7 MB, free: 6.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008979/0.01567, allocations: 0.6061 MB / 284.3 MB, free: 6.094 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.902e-05/0.01572, allocations: 83.92 kB / 284.4 MB, free: 5.992 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.01577, allocations: 21.94 kB / 284.4 MB, free: 5.969 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.01582, allocations: 20.5 kB / 284.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01582, allocations: 4 kB / 284.4 MB, free: 5.945 MB / 266.7 MB Notification: Performance of Templates: time 0.00356/0.01938, allocations: 2 MB / 286.4 MB, free: 3.98 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.7085455278865993]