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.002051/0.002051, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002384/0.002384, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002154/0.002154, allocations: 59.91 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2626, allocations: 53.41 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003133/0.2657, allocations: 1.563 MB / 433.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.2668, allocations: 0.4948 MB / 433.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.391e-05/0.2669, allocations: 7.938 kB / 433.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.1e-05/0.2669, allocations: 3.938 kB / 433.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.2671, allocations: 19.84 kB / 433.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.2674, allocations: 63.75 kB / 433.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.2676, allocations: 51.78 kB / 433.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2677, allocations: 8.188 kB / 433.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.2678, allocations: 31.91 kB / 433.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.2679, allocations: 15.86 kB / 433.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2679, allocations: 4 kB / 433.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.002e-05/0.2679, allocations: 12 kB / 433.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.499e-05/0.268, allocations: 15.92 kB / 433.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.268, allocations: 15.88 kB / 433.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.2682, allocations: 65.86 kB / 434 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2682, allocations: 4 kB / 434 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2682, allocations: 0 / 434 MB, free: 4.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.2682, allocations: 4 kB / 434 MB, free: 4.133 MB / 334.1 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.0004919/0.2687, allocations: 301.9 kB / 434.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2687, allocations: 15.98 kB / 434.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.2689, allocations: 12.89 kB / 434.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.2692, allocations: 145.2 kB / 434.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2692, allocations: 4.375 kB / 434.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.2692, allocations: 8.375 kB / 434.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.2695, allocations: 109.2 kB / 434.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2696, allocations: 0 / 434.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2696, allocations: 0 / 434.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2696, allocations: 0 / 434.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.05e-05/0.2697, allocations: 23.92 kB / 434.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.2701, allocations: 209.4 kB / 434.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.2702, allocations: 53.08 kB / 434.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.2702, allocations: 17.78 kB / 434.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.2703, allocations: 7.938 kB / 434.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.2703, allocations: 34.55 kB / 434.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2703, allocations: 0 / 434.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003019/0.2706, allocations: 69.58 kB / 435 MB, free: 3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.2707, allocations: 81.34 kB / 435.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.2709, allocations: 141.8 kB / 435.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.2709, allocations: 25.7 kB / 435.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.271, allocations: 84.14 kB / 435.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.271, allocations: 11.94 kB / 435.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.2711, allocations: 17.66 kB / 435.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.2713, allocations: 318.8 kB / 435.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.2713, allocations: 11.92 kB / 435.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.153e-05/0.2714, allocations: 17.72 kB / 435.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.471e-05/0.2714, allocations: 29.77 kB / 435.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2714, allocations: 7.938 kB / 435.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001345/0.2716, allocations: 61.56 kB / 435.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.2716, allocations: 4 kB / 435.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2716, allocations: 0 / 435.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.2716, allocations: 0 / 435.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.633e-05/0.2717, allocations: 8 kB / 435.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.2717, allocations: 0 / 435.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/0.2718, allocations: 8.047 kB / 435.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.2718, allocations: 4 kB / 435.8 MB, free: 2.113 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001304/0.2719, allocations: 117.8 kB / 435.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.272, allocations: 41.59 kB / 436 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.272, allocations: 15.75 kB / 436 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.272, allocations: 4 kB / 436 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2721, allocations: 0 / 436 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2721, allocations: 0 / 436 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.2723, allocations: 117.2 kB / 436.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.2723, allocations: 4 kB / 436.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.2723, allocations: 12.02 kB / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.2723, allocations: 0 / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2723, allocations: 0 / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.2723, allocations: 0 / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.2723, allocations: 11.98 kB / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.2726, allocations: 168.2 kB / 436.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.2726, allocations: 11.95 kB / 436.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.2726, allocations: 0 / 436.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.2727, allocations: 7.984 kB / 436.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.2728, allocations: 4.031 kB / 436.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.2728, allocations: 0 / 436.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.2729, allocations: 114 kB / 436.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2729, allocations: 0 / 436.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.2731, allocations: 8 kB / 436.4 MB, free: 1.426 MB / 334.1 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.0001411/0.2732, allocations: 91.25 kB / 436.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.2734, allocations: 27.92 kB / 436.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2734, allocations: 0 / 436.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.2735, allocations: 12.11 kB / 436.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.2739, allocations: 23.89 kB / 436.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.2743, allocations: 167.7 kB / 436.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2744, allocations: 71.33 kB / 436.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.2745, allocations: 4 kB / 436.8 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.2745, allocations: 11.42 kB / 436.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2745, allocations: 4.156 kB / 436.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of Templates: time 0.003648/0.2782, allocations: 0.5885 MB / 437.4 MB, free: 392 kB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.412992866709828]