Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009557/0.0009558, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.156/1.156, allocations: 227.2 MB / 245 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008526/0.0008526, allocations: 104.3 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001931/0.0001932, allocations: 8 kB / 357.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1682, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08149/0.2497, allocations: 77.88 MB / 487.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.25, allocations: 79.95 kB / 487.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006428/0.2564, allocations: 2.22 MB / 489.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2565, allocations: 0 / 489.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.2565, allocations: 4 kB / 489.6 MB, free: 10.43 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.0004872/0.257, allocations: 367.1 kB / 490 MB, free: 10.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.2571, allocations: 8.031 kB / 490 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.2573, allocations: 23.8 kB / 490 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.2575, allocations: 193.1 kB / 490.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.2575, allocations: 3.953 kB / 490.2 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.2575, allocations: 12 kB / 490.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.2578, allocations: 101 kB / 490.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2578, allocations: 4 kB / 490.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.2578, allocations: 3.938 kB / 490.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2578, allocations: 0 / 490.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.85e-05/0.2579, allocations: 31.92 kB / 490.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.2583, allocations: 269.7 kB / 490.6 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.472e-05/0.2584, allocations: 41.22 kB / 490.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2584, allocations: 7.922 kB / 490.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.2584, allocations: 42.61 kB / 490.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.2584, allocations: 0 / 490.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002317/0.2587, allocations: 73.62 kB / 490.8 MB, free: 9.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.2587, allocations: 81.09 kB / 490.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2589, allocations: 125.3 kB / 491 MB, free: 8.852 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2589, allocations: 25.7 kB / 491 MB, free: 8.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.2589, allocations: 88.14 kB / 491.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.2589, allocations: 3.938 kB / 491.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.259, allocations: 0 / 491.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2591, allocations: 328.3 kB / 491.4 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.915e-05/0.2591, allocations: 7.984 kB / 491.4 MB, free: 8.391 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.8e-05/0.2592, allocations: 21.72 kB / 491.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.2592, allocations: 11.98 kB / 491.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2592, allocations: 4.062 kB / 491.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001144/0.2593, allocations: 61.53 kB / 491.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2594, allocations: 8 kB / 491.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2594, allocations: 0 / 491.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2594, allocations: 0 / 491.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.2595, allocations: 7.984 kB / 491.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.2595, allocations: 7.984 kB / 491.5 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/0.2595, allocations: 4.062 kB / 491.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2595, allocations: 4 kB / 491.5 MB, free: 8.25 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 8.865e-05/0.2596, allocations: 125.7 kB / 491.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.2597, allocations: 33.61 kB / 491.7 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.2597, allocations: 11.88 kB / 491.7 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2597, allocations: 3.984 kB / 491.7 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2598, allocations: 4 kB / 491.7 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2598, allocations: 0 / 491.7 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.2599, allocations: 169.6 kB / 491.9 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2599, allocations: 4.031 kB / 491.9 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.26, allocations: 11.94 kB / 491.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.26, allocations: 0 / 491.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.26, allocations: 0 / 491.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.26, allocations: 0 / 491.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.26, allocations: 0 / 491.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.2602, allocations: 185.9 kB / 492.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.2603, allocations: 89.08 kB / 492.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2603, allocations: 0 / 492.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.2604, allocations: 4 kB / 492.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.2604, allocations: 7.938 kB / 492.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2604, allocations: 7.984 kB / 492.2 MB, free: 7.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.2605, allocations: 110 kB / 492.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2605, allocations: 0 / 492.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.2607, allocations: 4 kB / 492.3 MB, free: 7.379 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 9.641e-05/0.2608, allocations: 103.2 kB / 492.4 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.261, allocations: 27.92 kB / 492.4 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.261, allocations: 128 / 492.4 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.261, allocations: 12 kB / 492.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.2612, allocations: 19.97 kB / 492.4 MB, free: 7.211 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.2615, allocations: 181.8 kB / 492.6 MB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.2618, allocations: 0.6926 MB / 493.3 MB, free: 6.277 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.369e-05/0.2618, allocations: 11.98 kB / 493.3 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.2619, allocations: 7.438 kB / 493.3 MB, free: 6.258 MB / 362.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2619, allocations: 0 / 493.3 MB, free: 6.258 MB / 362.7 MB Notification: Performance of Templates: time 0.002194/0.2641, allocations: 463.5 kB / 493.8 MB, free: 5.82 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches