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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 201.8 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.168/1.168, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008415/0.0008416, allocations: 95.88 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001866/0.0001866, allocations: 4 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.169, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08125/0.2503, allocations: 77.88 MB / 487.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.2505, allocations: 87.89 kB / 487.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005912/0.2565, allocations: 2.217 MB / 489.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2565, allocations: 0 / 489.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2565, allocations: 4 kB / 489.6 MB, free: 10.46 MB / 362.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.0003376/0.2568, allocations: 367 kB / 489.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2569, allocations: 16.03 kB / 490 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.257, allocations: 23.8 kB / 490 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.2572, allocations: 189 kB / 490.2 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2572, allocations: 7.953 kB / 490.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.2572, allocations: 0 / 490.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.2575, allocations: 113 kB / 490.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2575, allocations: 0 / 490.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2575, allocations: 3.938 kB / 490.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2575, allocations: 0 / 490.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.183e-05/0.2576, allocations: 23.92 kB / 490.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.2579, allocations: 273.8 kB / 490.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.992e-05/0.258, allocations: 41.16 kB / 490.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.258, allocations: 0 / 490.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.2581, allocations: 42.55 kB / 490.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2581, allocations: 0 / 490.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002166/0.2583, allocations: 69.59 kB / 490.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.2584, allocations: 81.11 kB / 490.8 MB, free: 9.031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2585, allocations: 125.5 kB / 490.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.2585, allocations: 33.69 kB / 491 MB, free: 8.859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.2585, allocations: 88.14 kB / 491.1 MB, free: 8.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.2585, allocations: 3.938 kB / 491.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-06/0.2585, allocations: 0 / 491.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.2587, allocations: 320.1 kB / 491.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.2587, allocations: 11.98 kB / 491.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.2587, allocations: 21.72 kB / 491.4 MB, free: 8.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/0.2588, allocations: 19.92 kB / 491.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2588, allocations: 0 / 491.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001089/0.2589, allocations: 57.59 kB / 491.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2589, allocations: 6.5 kB / 491.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2589, allocations: 4.125 kB / 491.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.259, allocations: 0 / 491.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.316e-05/0.259, allocations: 15.97 kB / 491.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.259, allocations: 3.938 kB / 491.5 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.2591, allocations: 4 kB / 491.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.2591, allocations: 0 / 491.5 MB, free: 8.293 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.2592, allocations: 128.3 kB / 491.6 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.2592, allocations: 41.61 kB / 491.7 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.2593, allocations: 11.88 kB / 491.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2593, allocations: 0 / 491.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2593, allocations: 3.984 kB / 491.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2593, allocations: 0 / 491.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.2595, allocations: 177.6 kB / 491.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2595, allocations: 0 / 491.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.2595, allocations: 7.938 kB / 491.9 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2595, allocations: 0 / 491.9 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2595, allocations: 4 kB / 491.9 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2595, allocations: 0 / 491.9 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2596, allocations: 7.969 kB / 491.9 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.2597, allocations: 178 kB / 492.1 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.2598, allocations: 85.09 kB / 492.1 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.2598, allocations: 4.031 kB / 492.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-05/0.2599, allocations: 4 kB / 492.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.2599, allocations: 0 / 492.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.2599, allocations: 3.984 kB / 492.2 MB, free: 7.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.875e-05/0.26, allocations: 103.3 kB / 492.3 MB, free: 7.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.26, allocations: 0 / 492.3 MB, free: 7.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.2602, allocations: 12 kB / 492.3 MB, free: 7.422 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.74e-05/0.2603, allocations: 99.25 kB / 492.4 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.2604, allocations: 35.91 kB / 492.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2604, allocations: 0 / 492.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.576e-05/0.2605, allocations: 8 kB / 492.4 MB, free: 7.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.2607, allocations: 19.97 kB / 492.4 MB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.261, allocations: 184.8 kB / 492.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.2612, allocations: 0.6962 MB / 493.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.679e-05/0.2613, allocations: 0 / 493.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.2613, allocations: 19.42 kB / 493.3 MB, free: 6.301 MB / 362.7 MB Notification: Performance of SimCode: time 1.823e-06/0.2613, allocations: 0 / 493.3 MB, free: 6.301 MB / 362.7 MB Notification: Performance of Templates: time 0.002057/0.2634, allocations: 468.7 kB / 493.8 MB, free: 5.855 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches