Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 76.48 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.002177, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000666/0.000666, allocations: 148.9 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002883/0.003549, allocations: 459.6 kB / 11.69 MB, free: 2.477 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.98/0.98, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09664/1.077, allocations: 52.5 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.995e-05, allocations: 6.312 kB / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002978/0.002998, allocations: 2.457 MB / 242 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008278/0.003826, allocations: 0.5958 MB / 242.6 MB, free: 128 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.806e-05/0.003924, allocations: 7.938 kB / 242.6 MB, free: 120 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.976e-05/0.004004, allocations: 35.59 kB / 242.6 MB, free: 84 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.004118, allocations: 71.36 kB / 242.7 MB, free: 12 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.004294, allocations: 67.78 kB / 242.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.004581, allocations: 258.7 kB / 243 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.004747, allocations: 71.67 kB / 243.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.004946, allocations: 168.4 kB / 243.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.005054, allocations: 79.72 kB / 243.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.005086, allocations: 20 kB / 243.4 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.588e-05/0.005112, allocations: 20 kB / 243.4 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.00514, allocations: 31.88 kB / 243.4 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.005197, allocations: 71.88 kB / 243.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.005376, allocations: 155.4 kB / 243.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.326e-05/0.00539, allocations: 0 / 243.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00539, allocations: 0 / 243.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.005406, allocations: 4 kB / 243.6 MB, free: 15.08 MB / 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.0005168/0.005923, allocations: 491.8 kB / 244.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.604e-05/0.005949, allocations: 8.031 kB / 244.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.005996, allocations: 36.91 kB / 244.2 MB, free: 14.53 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.006154, allocations: 154.2 kB / 244.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.00617, allocations: 16.88 kB / 244.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.006199, allocations: 24.36 kB / 244.3 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.006393, allocations: 186.7 kB / 244.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.006405, allocations: 3.953 kB / 244.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.00642, allocations: 12 kB / 244.5 MB, free: 14.1 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.006427, allocations: 7.984 kB / 244.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.288e-05/0.00651, allocations: 55.16 kB / 244.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.007055, allocations: 0.5372 MB / 245.1 MB, free: 13.47 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.007223, allocations: 125.1 kB / 245.3 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.691e-05/0.0073, allocations: 53.69 kB / 245.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.007316, allocations: 7.984 kB / 245.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.007337, allocations: 34.56 kB / 245.4 MB, free: 13.22 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.007338, allocations: 0 / 245.4 MB, free: 13.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007/0.008038, allocations: 0.5292 MB / 245.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.00807, allocations: 81.11 kB / 246 MB, free: 12.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.008157, allocations: 158.6 kB / 246.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.008172, allocations: 29.7 kB / 246.2 MB, free: 12.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.008227, allocations: 148.3 kB / 246.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.008296, allocations: 95.14 kB / 246.4 MB, free: 12.1 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.008349, allocations: 49.69 kB / 246.4 MB, free: 12.04 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.008436, allocations: 330.8 kB / 246.8 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.008467, allocations: 19.98 kB / 246.8 MB, free: 11.69 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.362e-05/0.008521, allocations: 68.19 kB / 246.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.008621, allocations: 112.1 kB / 247 MB, free: 11.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.008622, allocations: 0 / 247 MB, free: 11.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001448/0.008767, allocations: 144.4 kB / 247.1 MB, free: 11.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.008781, allocations: 10.44 kB / 247.1 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.008787, allocations: 4 kB / 247.1 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.008797, allocations: 3.938 kB / 247.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.008981, allocations: 71.95 kB / 247.2 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.008987, allocations: 7.938 kB / 247.2 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.009029, allocations: 11.94 kB / 247.2 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.009037, allocations: 4 kB / 247.2 MB, free: 11.23 MB / 250.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 6.152e-05/0.009099, allocations: 125.9 kB / 247.3 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.009136, allocations: 31.89 kB / 247.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.009168, allocations: 25.81 kB / 247.4 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.00917, allocations: 4 kB / 247.4 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.009174, allocations: 4 kB / 247.4 MB, free: 11.03 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.009179, allocations: 4 kB / 247.4 MB, free: 11.03 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.009533, allocations: 356.9 kB / 247.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.009536, allocations: 4 kB / 247.8 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.009689, allocations: 75.98 kB / 247.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.009706, allocations: 19.86 kB / 247.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.009709, allocations: 4 kB / 247.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.009719, allocations: 8 kB / 247.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.009721, allocations: 0 / 247.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.009723, allocations: 4 kB / 247.9 MB, free: 10.53 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.009938, allocations: 349.4 kB / 248.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.009957, allocations: 8 kB / 248.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.01003, allocations: 12 kB / 248.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.01006, allocations: 23.91 kB / 248.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01007, allocations: 7.938 kB / 248.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.829e-05/0.0101, allocations: 49.8 kB / 248.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0101, allocations: 0 / 248.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.01028, allocations: 48 kB / 248.4 MB, free: 10.02 MB / 250.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 6.81e-05/0.01035, allocations: 88.3 kB / 248.4 MB, free: 9.922 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.01048, allocations: 111.8 kB / 248.5 MB, free: 9.812 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.01049, allocations: 8.188 kB / 248.6 MB, free: 9.805 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.01055, allocations: 60.7 kB / 248.6 MB, free: 9.742 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01078, allocations: 56.66 kB / 248.7 MB, free: 9.688 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.01216, allocations: 0.5001 MB / 249.2 MB, free: 9.148 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.233e-05/0.01222, allocations: 87.97 kB / 249.3 MB, free: 9.043 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.296e-05/0.01228, allocations: 21.98 kB / 249.3 MB, free: 9.016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.381e-05/0.01237, allocations: 91.34 kB / 249.4 MB, free: 8.926 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01237, allocations: 0 / 249.4 MB, free: 8.926 MB / 250.7 MB Notification: Performance of Templates: time 0.003792/0.01617, allocations: 2.269 MB / 251.6 MB, free: 6.703 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.55080955196172]