Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.0007765/0.0007765, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001815, 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.0007224/0.0007224, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009256/0.001648, 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 0.9753/0.9753, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09483/1.07, allocations: 53.87 MB / 243.7 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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.051e-06/1.051e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.078e-06/1.013e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.001735/0.001745, allocations: 1.685 MB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005573/0.002303, allocations: 0.5413 MB / 247.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.002354, allocations: 3.938 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.002379, allocations: 3.938 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.214e-05/0.002431, allocations: 19.84 kB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.002586, allocations: 55.77 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.095e-05/0.002657, allocations: 51.78 kB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.002707, allocations: 16.17 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.002809, allocations: 39.84 kB / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.959e-05/0.002849, allocations: 15.97 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.002859, allocations: 11.94 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.625e-05/0.002896, allocations: 8 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.002921, allocations: 11.94 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.002935, allocations: 8 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.003052, allocations: 51.7 kB / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.003063, allocations: 0 / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003064, allocations: 0 / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.003077, allocations: 0 / 247.5 MB, free: 11.11 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.0003171/0.003394, allocations: 288.3 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.003421, allocations: 8.625 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.003537, allocations: 102 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.003673, allocations: 146.1 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-06/0.00368, allocations: 4.375 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.003688, allocations: 8.375 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.00382, allocations: 118.9 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.003827, allocations: 0 / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-06/0.003832, allocations: 4 kB / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.003835, allocations: 0 / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.003855, allocations: 19.86 kB / 248.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.003992, allocations: 150.1 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.958e-05/0.004042, allocations: 59.78 kB / 248.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/0.004061, allocations: 22.62 kB / 248.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.004078, allocations: 11.98 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.004095, allocations: 38.44 kB / 248.5 MB, free: 9.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.004096, allocations: 4 kB / 248.5 MB, free: 9.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.057e-05/0.004187, allocations: 53.61 kB / 248.6 MB, free: 9.926 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.004226, allocations: 110.8 kB / 248.7 MB, free: 9.793 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.49e-05/0.004291, allocations: 138 kB / 248.8 MB, free: 9.648 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.004299, allocations: 25.7 kB / 248.8 MB, free: 9.617 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.004333, allocations: 88.11 kB / 248.9 MB, free: 9.527 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.004345, allocations: 11.89 kB / 248.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.004366, allocations: 13.72 kB / 248.9 MB, free: 9.496 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.004429, allocations: 319.2 kB / 249.3 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-06/0.004434, allocations: 7.938 kB / 249.3 MB, free: 9.168 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/0.00444, allocations: 3.984 kB / 249.3 MB, free: 9.164 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.656e-05/0.004456, allocations: 12.86 kB / 249.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.004458, allocations: 0 / 249.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.049e-05/0.004488, allocations: 37.64 kB / 249.3 MB, free: 9.105 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.004496, allocations: 4 kB / 249.3 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.0045, allocations: 0 / 249.3 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.004509, allocations: 3.984 kB / 249.3 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.673e-05/0.004556, allocations: 4 kB / 249.3 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.004558, allocations: 4.094 kB / 249.3 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.004571, allocations: 0 / 249.3 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.004575, allocations: 0 / 249.3 MB, free: 9.09 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.489e-05/0.00462, allocations: 116.6 kB / 249.4 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.004653, allocations: 41.62 kB / 249.5 MB, free: 8.918 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.004672, allocations: 15.95 kB / 249.5 MB, free: 8.902 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.004675, allocations: 4 kB / 249.5 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.004677, allocations: 0 / 249.5 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.004679, allocations: 0 / 249.5 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.562e-05/0.004755, allocations: 77.94 kB / 249.6 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.004756, allocations: 0 / 249.6 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.004782, allocations: 11.94 kB / 249.6 MB, free: 8.793 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.004807, allocations: 31.77 kB / 249.6 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.004808, allocations: 0 / 249.6 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.004813, allocations: 4 kB / 249.6 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.004814, allocations: 0 / 249.6 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.004815, allocations: 0 / 249.6 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.994e-05/0.004875, allocations: 141.3 kB / 249.8 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.004884, allocations: 3.938 kB / 249.8 MB, free: 8.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.162e-05/0.004916, allocations: 8.031 kB / 249.8 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.004937, allocations: 11.92 kB / 249.8 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.00494, allocations: 0 / 249.8 MB, free: 8.574 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.245e-05/0.004962, allocations: 28.83 kB / 249.8 MB, free: 8.543 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004962, allocations: 0 / 249.8 MB, free: 8.543 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001093/0.005072, allocations: 4 kB / 249.8 MB, free: 8.539 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.548e-05/0.005127, allocations: 76.42 kB / 249.9 MB, free: 8.453 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.123e-05/0.005178, allocations: 16.84 kB / 249.9 MB, free: 8.434 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.005183, allocations: 4 kB / 249.9 MB, free: 8.43 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.005193, allocations: 12.86 kB / 249.9 MB, free: 8.414 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.005362, allocations: 32.06 kB / 250 MB, free: 8.383 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.005974, allocations: 187.7 kB / 250.1 MB, free: 8.168 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.167e-05/0.006005, allocations: 63.34 kB / 250.2 MB, free: 8.086 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.764e-05/0.006023, allocations: 3.984 kB / 250.2 MB, free: 8.082 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.006067, allocations: 59.56 kB / 250.3 MB, free: 8.023 MB / 250.7 MB Notification: Performance of SimCode: time 7.92e-07/0.006068, allocations: 4 kB / 250.3 MB, free: 8.02 MB / 250.7 MB Notification: Performance of Templates: time 0.001862/0.00793, allocations: 0.6783 MB / 250.9 MB, free: 7.352 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.4000031370669603]