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.001338/0.001338, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001424/0.001424, allocations: 163.1 kB / 24.91 MB, free: 8.719 MB / 18.57 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.9516/0.9516, allocations: 177 MB / 205.2 MB, free: 4.434 MB / 186.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.783e-06/1.783e-06, allocations: 3.938 kB / 273.4 MB, free: 4.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.666e-05, allocations: 5.234 kB / 273.4 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001935/0.001952, allocations: 1.613 MB / 275 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007205/0.002672, allocations: 0.5288 MB / 275.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.016e-05/0.002752, allocations: 0 / 275.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.855e-05/0.002801, allocations: 7.875 kB / 275.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.002929, allocations: 15.88 kB / 275.5 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.003159, allocations: 51.81 kB / 275.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.701e-05/0.003246, allocations: 51.77 kB / 275.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.991e-05/0.003325, allocations: 9.312 kB / 275.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.003433, allocations: 39.84 kB / 275.7 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.003478, allocations: 16.81 kB / 275.7 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.003492, allocations: 4 kB / 275.7 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.538e-05/0.003527, allocations: 4 kB / 275.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.003568, allocations: 16.56 kB / 275.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.003586, allocations: 18.39 kB / 275.7 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.003686, allocations: 47.81 kB / 275.8 MB, free: 1.895 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-06/0.003687, allocations: 0 / 275.8 MB, free: 1.895 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003688, allocations: 0 / 275.8 MB, free: 1.895 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.003691, allocations: 0 / 275.8 MB, free: 1.895 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.000285/0.003976, allocations: 272.6 kB / 276.1 MB, free: 1.605 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.004006, allocations: 12.03 kB / 276.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.877e-05/0.004095, allocations: 14.95 kB / 276.1 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.004223, allocations: 153.5 kB / 276.2 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.004232, allocations: 4.375 kB / 276.2 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.004244, allocations: 5.031 kB / 276.2 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.004385, allocations: 110.3 kB / 276.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.004391, allocations: 192 / 276.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.004399, allocations: 8.109 kB / 276.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.004402, allocations: 0 / 276.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.343e-05/0.004416, allocations: 7.938 kB / 276.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.004554, allocations: 149.2 kB / 276.5 MB, free: 1.09 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.944e-05/0.004594, allocations: 41.16 kB / 276.5 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.004609, allocations: 13.72 kB / 276.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.004621, allocations: 0 / 276.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.004639, allocations: 34.62 kB / 276.6 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.32e-07/0.00464, allocations: 0 / 276.6 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 9.419e-05/0.004734, allocations: 49.56 kB / 276.6 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.004778, allocations: 81.11 kB / 276.7 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.076e-05/0.004848, allocations: 136.4 kB / 276.9 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.004857, allocations: 29.69 kB / 276.9 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.004892, allocations: 84.14 kB / 277 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.004905, allocations: 8.141 kB / 277 MB, free: 0.543 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.004927, allocations: 21.72 kB / 277 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.005004, allocations: 318.8 kB / 277.3 MB, free: 200 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-06/0.00501, allocations: 0 / 277.3 MB, free: 200 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.005017, allocations: 4 kB / 277.3 MB, free: 196 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.824e-05/0.005035, allocations: 8.797 kB / 277.3 MB, free: 184 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005037, allocations: 4 kB / 277.3 MB, free: 180 kB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.361e-05/0.005071, allocations: 33.69 kB / 277.4 MB, free: 140 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.005081, allocations: 4 kB / 277.4 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.005087, allocations: 3.938 kB / 277.4 MB, free: 132 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.005097, allocations: 4.094 kB / 277.4 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.363e-05/0.005141, allocations: 4 kB / 277.4 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.005144, allocations: 0 / 277.4 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.005161, allocations: 4 kB / 277.4 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005166, allocations: 7.938 kB / 277.4 MB, free: 112 kB / 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.553e-05/0.005222, allocations: 112.7 kB / 277.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.005246, allocations: 33.64 kB / 277.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.005267, allocations: 15.75 kB / 277.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.005269, allocations: 3.984 kB / 277.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.005272, allocations: 8.031 kB / 277.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-06/0.005274, allocations: 0 / 277.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.178e-05/0.005346, allocations: 69.89 kB / 277.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.005348, allocations: 3.984 kB / 277.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.005364, allocations: 4 kB / 277.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.005364, allocations: 0 / 277.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-06/0.005368, allocations: 0 / 277.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005368, allocations: 0 / 277.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.00537, allocations: 7.938 kB / 277.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.256e-05/0.005422, allocations: 136.3 kB / 277.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.005443, allocations: 11.98 kB / 277.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.005452, allocations: 11.98 kB / 277.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.63e-05/0.005478, allocations: 0 / 277.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.005498, allocations: 3.938 kB / 277.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.005501, allocations: 4 kB / 277.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.91e-05/0.00552, allocations: 27.58 kB / 277.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00552, allocations: 0 / 277.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001028/0.005623, allocations: 4 kB / 277.8 MB, free: 15.61 MB / 266.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.782e-05/0.005681, allocations: 84.41 kB / 277.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.425e-05/0.005725, allocations: 16.8 kB / 277.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.005727, allocations: 0 / 277.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.005738, allocations: 8.859 kB / 277.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.005893, allocations: 23.98 kB / 278 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.006214, allocations: 171.7 kB / 278.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.306e-05/0.006248, allocations: 63.2 kB / 278.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.92e-05/0.006267, allocations: 12.12 kB / 278.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.006311, allocations: 51.38 kB / 278.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006311, allocations: 3.938 kB / 278.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of Templates: time 0.001943/0.008254, allocations: 0.5978 MB / 278.9 MB, free: 14.55 MB / 266.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 -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.6903211320750415]