Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.0009035/0.0009035, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002466, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007781/0.0007781, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001876, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.054/1.054, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.12/1.174, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.274e-05, allocations: 9.688 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003643/0.003676, allocations: 1.669 MB / 246.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.004677, allocations: 0.5341 MB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.004776, allocations: 0 / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.164e-05/0.004827, allocations: 7.938 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.004928, allocations: 15.92 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.005219, allocations: 59.67 kB / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.00535, allocations: 35.86 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.005455, allocations: 8 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.005641, allocations: 43.83 kB / 247.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.00571, allocations: 15.92 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.005735, allocations: 4 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.005818, allocations: 4 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.005887, allocations: 11.94 kB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.005909, allocations: 12 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.006075, allocations: 35.84 kB / 247.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.006091, allocations: 0 / 247.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.006094, allocations: 3.938 kB / 247.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.006109, allocations: 0 / 247.2 MB, free: 11.73 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000524/0.006633, allocations: 288.3 kB / 247.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.006678, allocations: 8.031 kB / 247.5 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.006917, allocations: 94.03 kB / 247.6 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.007148, allocations: 140.4 kB / 247.7 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.007161, allocations: 8.312 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.007175, allocations: 384 / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.007397, allocations: 94.36 kB / 247.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.007407, allocations: 192 / 247.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.007415, allocations: 4.312 kB / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.007424, allocations: 3.938 kB / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.007447, allocations: 7.984 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.007689, allocations: 161.1 kB / 248 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.998e-05/0.007759, allocations: 41.2 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.00778, allocations: 9.719 kB / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.007801, allocations: 0 / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.007835, allocations: 38.56 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.007835, allocations: 0 / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001631/0.007999, allocations: 45.56 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.008056, allocations: 85.05 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.008164, allocations: 130.7 kB / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.008182, allocations: 33.95 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.008355, allocations: 84.12 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.008376, allocations: 7.938 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.008415, allocations: 17.66 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.008514, allocations: 318.8 kB / 248.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.00853, allocations: 0 / 248.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.00854, allocations: 0 / 248.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/0.008574, allocations: 12.84 kB / 248.8 MB, free: 9.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.008578, allocations: 0 / 248.8 MB, free: 9.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.93e-05/0.008648, allocations: 37.7 kB / 248.8 MB, free: 9.887 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.008668, allocations: 8.031 kB / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.008674, allocations: 0 / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.008691, allocations: 3.938 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.008776, allocations: 7.984 kB / 248.8 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.00878, allocations: 0 / 248.8 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.008801, allocations: 0 / 248.8 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.008811, allocations: 0 / 248.8 MB, free: 9.867 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.761e-05/0.008888, allocations: 112.7 kB / 248.9 MB, free: 9.746 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.008944, allocations: 37.69 kB / 249 MB, free: 9.703 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.008979, allocations: 11.84 kB / 249 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.008983, allocations: 3.938 kB / 249 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.008985, allocations: 0 / 249 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.008988, allocations: 0 / 249 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.009108, allocations: 73.88 kB / 249.1 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.009112, allocations: 0 / 249.1 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.009163, allocations: 11.94 kB / 249.1 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.009203, allocations: 15.94 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.009206, allocations: 0 / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.009211, allocations: 0 / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.009216, allocations: 7.938 kB / 249.1 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009217, allocations: 4 kB / 249.1 MB, free: 9.559 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.009336, allocations: 132.4 kB / 249.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.009349, allocations: 0 / 249.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.483e-05/0.009404, allocations: 7.984 kB / 249.2 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.009439, allocations: 7.922 kB / 249.2 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.009446, allocations: 4 kB / 249.3 MB, free: 9.391 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.794e-05/0.009484, allocations: 35.41 kB / 249.3 MB, free: 9.355 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009484, allocations: 0 / 249.3 MB, free: 9.355 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.009657, allocations: 7.938 kB / 249.3 MB, free: 9.348 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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.0001258/0.009783, allocations: 84.39 kB / 249.4 MB, free: 9.254 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.764e-05/0.009871, allocations: 8.859 kB / 249.4 MB, free: 9.242 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.009879, allocations: 3.984 kB / 249.4 MB, free: 9.238 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.041e-05/0.009899, allocations: 8.859 kB / 249.4 MB, free: 9.227 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.01021, allocations: 71.7 kB / 249.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009641/0.01118, allocations: 167.8 kB / 249.6 MB, free: 8.949 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.595e-05/0.01123, allocations: 67.28 kB / 249.7 MB, free: 8.863 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.638e-05/0.01127, allocations: 4 kB / 249.7 MB, free: 8.859 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.01135, allocations: 51.38 kB / 249.8 MB, free: 8.809 MB / 250.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01135, allocations: 0 / 249.8 MB, free: 8.809 MB / 250.7 MB Notification: Performance of Templates: time 0.003285/0.01464, allocations: 0.5277 MB / 250.3 MB, free: 8.293 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.713213261216879]