Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002552, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000961/0.000961, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.002197, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8869/0.8869, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0894/0.9763, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.356e-05, allocations: 5.125 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001725/0.001739, allocations: 1.666 MB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000563/0.002302, allocations: 0.5219 MB / 247.4 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.00237, allocations: 11.94 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.002402, allocations: 3.938 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.002467, allocations: 15.84 kB / 247.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.002632, allocations: 59.7 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.389e-05/0.002716, allocations: 47.84 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.49e-05/0.00278, allocations: 4.188 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.002891, allocations: 43.89 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.002935, allocations: 15.92 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.002949, allocations: 4 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.183e-05/0.003001, allocations: 19.92 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.003034, allocations: 7.938 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.519e-05/0.003049, allocations: 15.94 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.889e-05/0.003148, allocations: 39.78 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.003157, allocations: 0 / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003158, allocations: 0 / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.003165, allocations: 0 / 247.7 MB, free: 11.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003302/0.003495, allocations: 296.3 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.003527, allocations: 8.625 kB / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.003651, allocations: 102 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.003789, allocations: 145.5 kB / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.003797, allocations: 8.375 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.003806, allocations: 384 / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.00395, allocations: 106.3 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.003956, allocations: 192 / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.003965, allocations: 4.125 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.00397, allocations: 4 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.168e-05/0.003981, allocations: 4 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.004224, allocations: 161.1 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.604e-05/0.00426, allocations: 33.19 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.313e-05/0.004274, allocations: 13.84 kB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.004286, allocations: 0 / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.004308, allocations: 42.48 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.004308, allocations: 0 / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 9.252e-05/0.004401, allocations: 45.83 kB / 248.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.004437, allocations: 85.09 kB / 248.7 MB, free: 9.879 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.021e-05/0.004507, allocations: 137.9 kB / 248.8 MB, free: 9.734 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.004516, allocations: 25.7 kB / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.004546, allocations: 88.12 kB / 248.9 MB, free: 9.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.004558, allocations: 7.953 kB / 249 MB, free: 9.605 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.004578, allocations: 9.719 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.00465, allocations: 322.8 kB / 249.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-06/0.004655, allocations: 0 / 249.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.371e-06/0.004661, allocations: 0 / 249.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.619e-05/0.004677, allocations: 8.859 kB / 249.3 MB, free: 9.254 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004679, allocations: 4.062 kB / 249.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.204e-05/0.004731, allocations: 41.62 kB / 249.3 MB, free: 9.203 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.004746, allocations: 4 kB / 249.3 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.004752, allocations: 3.938 kB / 249.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.004764, allocations: 3.938 kB / 249.3 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.004819, allocations: 4 kB / 249.3 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.004821, allocations: 0 / 249.3 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.425e-05/0.004836, allocations: 3.984 kB / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.004841, allocations: 0 / 249.4 MB, free: 9.184 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 5.437e-05/0.004895, allocations: 116.7 kB / 249.5 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.004922, allocations: 33.64 kB / 249.5 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.004946, allocations: 19.73 kB / 249.5 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.004948, allocations: 3.984 kB / 249.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.00495, allocations: 0 / 249.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.004952, allocations: 0 / 249.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.274e-05/0.005025, allocations: 73.88 kB / 249.6 MB, free: 8.906 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.005026, allocations: 4 kB / 249.6 MB, free: 8.902 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.005045, allocations: 4 kB / 249.6 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.005068, allocations: 19.88 kB / 249.6 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.005069, allocations: 4.031 kB / 249.6 MB, free: 8.875 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.005074, allocations: 4 kB / 249.6 MB, free: 8.871 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.005076, allocations: 3.938 kB / 249.6 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005077, allocations: 0 / 249.6 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.911e-05/0.005136, allocations: 132.4 kB / 249.8 MB, free: 8.719 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-06/0.005145, allocations: 4 kB / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.675e-05/0.005172, allocations: 3.938 kB / 249.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.005191, allocations: 3.938 kB / 249.8 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.005194, allocations: 3.984 kB / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.116e-05/0.005215, allocations: 32.83 kB / 249.8 MB, free: 8.668 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005215, allocations: 4.031 kB / 249.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001074/0.005322, allocations: 4 kB / 249.8 MB, free: 8.66 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.73e-05/0.00538, allocations: 76.42 kB / 249.9 MB, free: 8.574 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.954e-05/0.005429, allocations: 8.859 kB / 249.9 MB, free: 8.562 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.005433, allocations: 0 / 249.9 MB, free: 8.562 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/0.00545, allocations: 16.78 kB / 249.9 MB, free: 8.543 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.005642, allocations: 101.4 kB / 250 MB, free: 8.422 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/0.006299, allocations: 179.8 kB / 250.2 MB, free: 8.219 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.006332, allocations: 59.34 kB / 250.2 MB, free: 8.141 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.938e-05/0.006351, allocations: 256 / 250.2 MB, free: 8.141 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.006399, allocations: 55.38 kB / 250.3 MB, free: 8.086 MB / 250.7 MB Notification: Performance of SimCode: time 7.42e-07/0.0064, allocations: 0 / 250.3 MB, free: 8.086 MB / 250.7 MB Notification: Performance of Templates: time 0.001948/0.008349, allocations: 0.6258 MB / 250.9 MB, free: 7.477 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.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.3420354705303907]