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.001116/0.001116, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001863/0.002978, allocations: 449.7 kB / 10.37 MB, free: 324 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.001258/0.001258, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.002858, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 1.018/1.018, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09548/1.114, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.503e-06/1.503e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.517e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002009/0.002035, allocations: 1.658 MB / 246.7 MB, free: 12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006/0.002635, allocations: 0.5373 MB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.443e-05/0.002709, allocations: 0 / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.785e-05/0.002747, allocations: 11.86 kB / 247.2 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.556e-05/0.002822, allocations: 11.88 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.003015, allocations: 55.81 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.003121, allocations: 47.78 kB / 247.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.003212, allocations: 12.19 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.003346, allocations: 47.83 kB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.003398, allocations: 7.984 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.003413, allocations: 4 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.052e-05/0.003464, allocations: 4 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.003499, allocations: 19.92 kB / 247.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.003516, allocations: 11.94 kB / 247.4 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.003626, allocations: 43.78 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.712e-05/0.003643, allocations: 0 / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.083e-06/0.00365, allocations: 0 / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.003663, allocations: 0 / 247.5 MB, free: 11.18 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.0003676/0.00403, allocations: 296.2 kB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.004065, allocations: 16.62 kB / 247.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.004197, allocations: 90.03 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.004349, allocations: 152.8 kB / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.004356, allocations: 384 / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.004365, allocations: 4.375 kB / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.004518, allocations: 110.3 kB / 248.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.004524, allocations: 4.188 kB / 248.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.004532, allocations: 8.125 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.004536, allocations: 0 / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.004554, allocations: 11.92 kB / 248.1 MB, free: 10.42 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.004713, allocations: 141.2 kB / 248.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.124e-05/0.004755, allocations: 41.14 kB / 248.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.00477, allocations: 13.72 kB / 248.3 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.004789, allocations: 8.047 kB / 248.3 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.004806, allocations: 30.56 kB / 248.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.004807, allocations: 4 kB / 248.4 MB, free: 10.13 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001032/0.00491, allocations: 49.56 kB / 248.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.00495, allocations: 77.11 kB / 248.5 MB, free: 9.984 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.00502, allocations: 138.6 kB / 248.6 MB, free: 9.836 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.005028, allocations: 29.64 kB / 248.7 MB, free: 9.801 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.005058, allocations: 84.14 kB / 248.7 MB, free: 9.715 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.005071, allocations: 3.953 kB / 248.8 MB, free: 9.711 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.005092, allocations: 17.7 kB / 248.8 MB, free: 9.688 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.005169, allocations: 314.8 kB / 249.1 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.005177, allocations: 8.25 kB / 249.1 MB, free: 9.363 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-06/0.005183, allocations: 0 / 249.1 MB, free: 9.363 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.005205, allocations: 16.78 kB / 249.1 MB, free: 9.344 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.005207, allocations: 4 kB / 249.1 MB, free: 9.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.027e-05/0.005248, allocations: 29.7 kB / 249.1 MB, free: 9.305 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.005259, allocations: 4 kB / 249.1 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.005264, allocations: 7.938 kB / 249.1 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.005272, allocations: 0 / 249.1 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.133e-05/0.005323, allocations: 3.984 kB / 249.1 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.005325, allocations: 4.094 kB / 249.2 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.005338, allocations: 4 kB / 249.2 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.005342, allocations: 0 / 249.2 MB, free: 9.281 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.209e-05/0.005394, allocations: 112.7 kB / 249.3 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.005426, allocations: 41.62 kB / 249.3 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.005447, allocations: 7.75 kB / 249.3 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.005449, allocations: 4 kB / 249.3 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.005451, allocations: 0 / 249.3 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.005453, allocations: 0 / 249.3 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.459e-05/0.005538, allocations: 73.88 kB / 249.4 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00554, allocations: 4.031 kB / 249.4 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.005567, allocations: 7.984 kB / 249.4 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.005593, allocations: 19.89 kB / 249.4 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.005594, allocations: 0 / 249.4 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-06/0.005598, allocations: 0 / 249.4 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.0056, allocations: 3.938 kB / 249.4 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.005602, allocations: 4 kB / 249.4 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.616e-05/0.005668, allocations: 140.3 kB / 249.6 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.005677, allocations: 0 / 249.6 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.005707, allocations: 4 kB / 249.6 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.005728, allocations: 11.95 kB / 249.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005731, allocations: 0 / 249.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.094e-05/0.005752, allocations: 31.88 kB / 249.6 MB, free: 8.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005752, allocations: 4 kB / 249.6 MB, free: 8.766 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001067/0.005858, allocations: 4 kB / 249.6 MB, free: 8.762 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 7.282e-05/0.005931, allocations: 72.42 kB / 249.7 MB, free: 8.68 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.51e-05/0.005986, allocations: 20.77 kB / 249.7 MB, free: 8.656 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.00599, allocations: 4 kB / 249.7 MB, free: 8.652 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.006001, allocations: 8.922 kB / 249.7 MB, free: 8.641 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.006182, allocations: 20.3 kB / 249.7 MB, free: 8.617 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.006805, allocations: 167.5 kB / 249.9 MB, free: 8.426 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.006838, allocations: 59.34 kB / 250 MB, free: 8.348 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.092e-05/0.006859, allocations: 256 / 250 MB, free: 8.348 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.006907, allocations: 55.38 kB / 250 MB, free: 8.293 MB / 250.7 MB Notification: Performance of SimCode: time 8.52e-07/0.006908, allocations: 160 / 250 MB, free: 8.293 MB / 250.7 MB Notification: Performance of Templates: time 0.002109/0.009017, allocations: 0.6216 MB / 250.6 MB, free: 7.684 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4162081805989146]