Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001136/0.001136, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001104/0.001104, allocations: 145.2 kB / 24.89 MB, free: 9.215 MB / 18.57 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.9512/0.9512, allocations: 173.4 MB / 201.5 MB, free: 9.211 MB / 186.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.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 4 kB / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.325e-05, allocations: 10.25 kB / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002073/0.002096, allocations: 1.635 MB / 270.1 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005986/0.002695, allocations: 482.4 kB / 270.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.002763, allocations: 4 kB / 270.6 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.863e-05/0.002801, allocations: 3.938 kB / 270.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.002926, allocations: 19.86 kB / 270.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.003104, allocations: 47.7 kB / 270.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.086e-05/0.003185, allocations: 39.86 kB / 270.7 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.983e-05/0.003255, allocations: 15.97 kB / 270.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.49e-05/0.00332, allocations: 27.92 kB / 270.8 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.114e-05/0.003361, allocations: 7.984 kB / 270.8 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.003376, allocations: 7.984 kB / 270.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.003385, allocations: 4 kB / 270.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.003423, allocations: 15.92 kB / 270.8 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.00344, allocations: 11.94 kB / 270.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.197e-05/0.003522, allocations: 43.83 kB / 270.9 MB, free: 3.805 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.003523, allocations: 4 kB / 270.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003524, allocations: 0 / 270.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.003527, allocations: 0 / 270.9 MB, free: 3.801 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002606/0.003787, allocations: 268.6 kB / 271.1 MB, free: 3.516 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.003815, allocations: 12.86 kB / 271.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.003839, allocations: 16.91 kB / 271.2 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.003965, allocations: 144.5 kB / 271.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-06/0.003972, allocations: 4.375 kB / 271.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-06/0.003978, allocations: 4.375 kB / 271.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.004111, allocations: 106.3 kB / 271.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.004117, allocations: 192 / 271.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.004122, allocations: 4.375 kB / 271.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.004126, allocations: 3.938 kB / 271.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.456e-05/0.004141, allocations: 11.92 kB / 271.4 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.004273, allocations: 141.1 kB / 271.6 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.663e-05/0.004309, allocations: 45.12 kB / 271.6 MB, free: 2.953 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.004324, allocations: 13.84 kB / 271.6 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.004335, allocations: 3.984 kB / 271.6 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.004358, allocations: 34.56 kB / 271.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.004359, allocations: 0 / 271.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 8.889e-05/0.004448, allocations: 45.56 kB / 271.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.004482, allocations: 81.11 kB / 271.8 MB, free: 2.738 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.139e-05/0.004543, allocations: 138.6 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.00455, allocations: 25.95 kB / 271.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.004576, allocations: 84.14 kB / 272 MB, free: 2.473 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.004587, allocations: 4 kB / 272 MB, free: 2.469 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.004608, allocations: 17.66 kB / 272 MB, free: 2.445 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.004675, allocations: 318.8 kB / 272.4 MB, free: 2.125 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-06/0.004681, allocations: 3.938 kB / 272.4 MB, free: 2.121 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-06/0.004687, allocations: 0 / 272.4 MB, free: 2.121 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.513e-05/0.004702, allocations: 8.859 kB / 272.4 MB, free: 2.109 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.004703, allocations: 0 / 272.4 MB, free: 2.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.561e-05/0.004739, allocations: 41.69 kB / 272.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.004749, allocations: 16.03 kB / 272.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.004752, allocations: 0 / 272.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.004765, allocations: 3.938 kB / 272.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.195e-05/0.004807, allocations: 4 kB / 272.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.004809, allocations: 0 / 272.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.327e-05/0.004822, allocations: 3.984 kB / 272.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.004826, allocations: 3.938 kB / 272.4 MB, free: 2.031 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 4.761e-05/0.004874, allocations: 112.7 kB / 272.6 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.00491, allocations: 29.7 kB / 272.6 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.004937, allocations: 19.83 kB / 272.6 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.00494, allocations: 3.938 kB / 272.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.004942, allocations: 0 / 272.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.004945, allocations: 0 / 272.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.005054, allocations: 73.88 kB / 272.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005055, allocations: 0 / 272.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.00508, allocations: 4 kB / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.005081, allocations: 0 / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.005085, allocations: 4 kB / 272.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005086, allocations: 0 / 272.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005086, allocations: 0 / 272.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.684e-05/0.005153, allocations: 144.3 kB / 272.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.005178, allocations: 23.86 kB / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-06/0.005186, allocations: 0 / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.036e-05/0.005216, allocations: 4 kB / 272.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.005236, allocations: 7.938 kB / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.005242, allocations: 0 / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.101e-05/0.005263, allocations: 27.41 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005263, allocations: 0 / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001082/0.005371, allocations: 4 kB / 272.9 MB, free: 1.527 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 5.666e-05/0.005427, allocations: 80.45 kB / 273 MB, free: 1.441 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.333e-05/0.005471, allocations: 12.8 kB / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.005474, allocations: 4 kB / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.998e-06/0.005484, allocations: 4.859 kB / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.005639, allocations: 16.3 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.00595, allocations: 171.6 kB / 273.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.033e-05/0.00598, allocations: 67.5 kB / 273.2 MB, free: 1.113 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.828e-05/0.005998, allocations: 7.984 kB / 273.2 MB, free: 1.105 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.00604, allocations: 55.36 kB / 273.3 MB, free: 1.051 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.00604, allocations: 0 / 273.3 MB, free: 1.051 MB / 250.7 MB Notification: Performance of Templates: time 0.00185/0.007891, allocations: 0.6065 MB / 273.9 MB, free: 472 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.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.380513812415302]