Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001184/0.001184, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0017/0.002884, allocations: 445.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.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.001062/0.001062, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002355, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9925/0.9925, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1688/1.161, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.08e-05, allocations: 5.406 kB / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004306/0.004337, allocations: 2.444 MB / 224.3 MB, free: 13.72 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.005686, allocations: 0.6279 MB / 224.9 MB, free: 13.08 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.005855, allocations: 7.938 kB / 224.9 MB, free: 13.07 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.005981, allocations: 43.58 kB / 224.9 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.006165, allocations: 71.3 kB / 225 MB, free: 12.96 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.006388, allocations: 59.91 kB / 225.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.006728, allocations: 258.7 kB / 225.3 MB, free: 12.65 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.006908, allocations: 67.67 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.007196, allocations: 172.3 kB / 225.6 MB, free: 12.42 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.007348, allocations: 79.77 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.007387, allocations: 20 kB / 225.7 MB, free: 12.32 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.428e-05/0.007421, allocations: 24 kB / 225.7 MB, free: 12.3 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.00746, allocations: 31.88 kB / 225.7 MB, free: 12.27 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.007542, allocations: 75.81 kB / 225.8 MB, free: 12.19 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.007793, allocations: 155.4 kB / 225.9 MB, free: 12.04 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.789e-05/0.007811, allocations: 0 / 225.9 MB, free: 12.04 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.007812, allocations: 0 / 225.9 MB, free: 12.04 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.007831, allocations: 0 / 225.9 MB, free: 12.04 MB / 234.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.0006738/0.008505, allocations: 471.9 kB / 226.4 MB, free: 11.55 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.00854, allocations: 12.03 kB / 226.4 MB, free: 11.54 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.701e-05/0.008607, allocations: 40.91 kB / 226.5 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.00884, allocations: 158.1 kB / 226.6 MB, free: 11.32 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.008861, allocations: 20.81 kB / 226.6 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.008903, allocations: 28.27 kB / 226.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.009179, allocations: 182.8 kB / 226.8 MB, free: 11.08 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.009197, allocations: 3.984 kB / 226.8 MB, free: 11.08 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.009217, allocations: 12 kB / 226.8 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.009228, allocations: 7.984 kB / 226.9 MB, free: 11.06 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.009359, allocations: 55.89 kB / 226.9 MB, free: 11 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.01012, allocations: 0.5411 MB / 227.5 MB, free: 10.43 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.01036, allocations: 117.2 kB / 227.6 MB, free: 10.3 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.01046, allocations: 57.67 kB / 227.6 MB, free: 10.23 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.01047, allocations: 4 kB / 227.6 MB, free: 10.23 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.01051, allocations: 46.5 kB / 227.7 MB, free: 10.18 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.01051, allocations: 4 kB / 227.7 MB, free: 10.17 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009426/0.01145, allocations: 0.5146 MB / 228.2 MB, free: 9.602 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.01149, allocations: 81.11 kB / 228.3 MB, free: 9.504 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.01157, allocations: 154.6 kB / 228.4 MB, free: 9.34 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.01159, allocations: 37.7 kB / 228.5 MB, free: 9.297 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.01164, allocations: 136.4 kB / 228.6 MB, free: 9.156 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.01169, allocations: 99.09 kB / 228.7 MB, free: 9.059 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.01174, allocations: 49.67 kB / 228.7 MB, free: 9.004 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.01182, allocations: 330.8 kB / 229.1 MB, free: 8.672 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/0.01185, allocations: 19.98 kB / 229.1 MB, free: 8.652 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.0119, allocations: 72.23 kB / 229.1 MB, free: 8.566 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.503e-05/0.01199, allocations: 112.1 kB / 229.3 MB, free: 8.441 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.012, allocations: 4 kB / 229.3 MB, free: 8.438 MB / 234.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001403/0.01214, allocations: 133.5 kB / 229.4 MB, free: 8.301 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.01215, allocations: 7.938 kB / 229.4 MB, free: 8.293 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01216, allocations: 0 / 229.4 MB, free: 8.293 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.01217, allocations: 4 kB / 229.4 MB, free: 8.289 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.01239, allocations: 75.89 kB / 229.5 MB, free: 8.215 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.01239, allocations: 4 kB / 229.5 MB, free: 8.211 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.01244, allocations: 11.95 kB / 229.5 MB, free: 8.199 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.01245, allocations: 12.08 kB / 229.5 MB, free: 8.188 MB / 234.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.668e-05/0.01252, allocations: 125.8 kB / 229.6 MB, free: 8.055 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.01256, allocations: 23.92 kB / 229.7 MB, free: 8.031 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.0126, allocations: 25.81 kB / 229.7 MB, free: 8.012 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.0126, allocations: 7.938 kB / 229.7 MB, free: 8.004 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.0126, allocations: 3.984 kB / 229.7 MB, free: 8 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01261, allocations: 3.984 kB / 229.7 MB, free: 7.996 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.01299, allocations: 366.9 kB / 230.1 MB, free: 7.605 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01299, allocations: 4.094 kB / 230.1 MB, free: 7.602 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.01315, allocations: 71.89 kB / 230.1 MB, free: 7.531 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.01317, allocations: 15.84 kB / 230.1 MB, free: 7.516 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.01317, allocations: 7.984 kB / 230.1 MB, free: 7.508 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01318, allocations: 4 kB / 230.2 MB, free: 7.504 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01318, allocations: 4 kB / 230.2 MB, free: 7.5 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01319, allocations: 0 / 230.2 MB, free: 7.5 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.01342, allocations: 358 kB / 230.5 MB, free: 7.125 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.01343, allocations: 8 kB / 230.5 MB, free: 7.117 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.01351, allocations: 8 kB / 230.5 MB, free: 7.109 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.01355, allocations: 27.89 kB / 230.5 MB, free: 7.082 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.01355, allocations: 8 kB / 230.6 MB, free: 7.074 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.926e-05/0.01358, allocations: 44.8 kB / 230.6 MB, free: 7.027 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01358, allocations: 0 / 230.6 MB, free: 7.027 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.01376, allocations: 51.94 kB / 230.7 MB, free: 6.977 MB / 234.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 0.0001101/0.01387, allocations: 84.42 kB / 230.7 MB, free: 6.883 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.01401, allocations: 104.8 kB / 230.8 MB, free: 6.777 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.01402, allocations: 8.062 kB / 230.8 MB, free: 6.77 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.01408, allocations: 64.7 kB / 230.9 MB, free: 6.703 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.01435, allocations: 48.41 kB / 231 MB, free: 6.66 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.01591, allocations: 0.5069 MB / 231.5 MB, free: 6.117 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.457e-05/0.01596, allocations: 79.98 kB / 231.5 MB, free: 6.02 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.938e-05/0.01603, allocations: 25.94 kB / 231.6 MB, free: 5.996 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.01614, allocations: 83.36 kB / 231.6 MB, free: 5.914 MB / 234.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01614, allocations: 0 / 231.6 MB, free: 5.914 MB / 234.7 MB Notification: Performance of Templates: time 0.004658/0.0208, allocations: 2.29 MB / 233.9 MB, free: 3.652 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.795741271227598]