Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 226.5 MB / 245.3 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008279/0.0008279, allocations: 95.38 kB / 297.4 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 4 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2414, allocations: 51.3 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09237/0.3339, allocations: 77.81 MB / 486.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.3341, allocations: 79.95 kB / 486.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006207/0.3403, allocations: 2.204 MB / 488.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.3404, allocations: 3.938 kB / 488.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3404, allocations: 10.34 kB / 488.8 MB, free: 11.47 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.0003823/0.3408, allocations: 367.3 kB / 489.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3408, allocations: 8.031 kB / 489.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.341, allocations: 23.72 kB / 489.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.3412, allocations: 192.2 kB / 489.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3412, allocations: 384 / 489.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3413, allocations: 8.312 kB / 489.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.3415, allocations: 113.6 kB / 489.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3416, allocations: 4.172 kB / 489.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3416, allocations: 3.938 kB / 489.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3416, allocations: 0 / 489.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.091e-05/0.3417, allocations: 19.92 kB / 489.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.342, allocations: 273.8 kB / 489.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.044e-05/0.3421, allocations: 53.08 kB / 489.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.3422, allocations: 25.78 kB / 489.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3422, allocations: 3.984 kB / 489.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.3422, allocations: 35.81 kB / 489.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3422, allocations: 0 / 489.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002513/0.3425, allocations: 73.75 kB / 490 MB, free: 10.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.3426, allocations: 81.09 kB / 490 MB, free: 10 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3427, allocations: 144.4 kB / 490.2 MB, free: 9.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3427, allocations: 25.7 kB / 490.2 MB, free: 9.816 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.3428, allocations: 84.14 kB / 490.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.3428, allocations: 11.83 kB / 490.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.3428, allocations: 4 kB / 490.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.3429, allocations: 318.9 kB / 490.6 MB, free: 9.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.204e-05/0.3429, allocations: 8 kB / 490.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.343, allocations: 21.64 kB / 490.6 MB, free: 9.359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.3431, allocations: 37.77 kB / 490.7 MB, free: 9.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3431, allocations: 0 / 490.7 MB, free: 9.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001171/0.3432, allocations: 61.56 kB / 490.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3432, allocations: 8 kB / 490.7 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3432, allocations: 0 / 490.7 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3433, allocations: 3.984 kB / 490.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.3433, allocations: 4 kB / 490.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3433, allocations: 4.062 kB / 490.8 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.3434, allocations: 4 kB / 490.8 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3434, allocations: 4 kB / 490.8 MB, free: 9.223 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.53e-05/0.3435, allocations: 121.8 kB / 490.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.3435, allocations: 37.55 kB / 490.9 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.3436, allocations: 11.88 kB / 490.9 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3436, allocations: 3.984 kB / 490.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3436, allocations: 7.938 kB / 490.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3436, allocations: 4.031 kB / 490.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3438, allocations: 169.6 kB / 491.1 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3438, allocations: 0 / 491.1 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.3438, allocations: 8 kB / 491.1 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3438, allocations: 0 / 491.1 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3438, allocations: 0 / 491.1 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3438, allocations: 3.984 kB / 491.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3438, allocations: 0 / 491.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.344, allocations: 176.2 kB / 491.3 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.3441, allocations: 89 kB / 491.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.3441, allocations: 0 / 491.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.3442, allocations: 4 kB / 491.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.3442, allocations: 0 / 491.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.3443, allocations: 11.98 kB / 491.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.916e-05/0.3443, allocations: 110 kB / 491.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3443, allocations: 3.938 kB / 491.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.3446, allocations: 4 kB / 491.5 MB, free: 8.367 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 0.0001059/0.3447, allocations: 103.2 kB / 491.6 MB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.3448, allocations: 23.98 kB / 491.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3448, allocations: 4.125 kB / 491.6 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.849e-05/0.3449, allocations: 11.94 kB / 491.7 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.3452, allocations: 19.95 kB / 491.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.3456, allocations: 215.1 kB / 491.9 MB, free: 7.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.3459, allocations: 0.6887 MB / 492.6 MB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.3459, allocations: 11.44 kB / 492.6 MB, free: 7.219 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.3459, allocations: 0 / 492.6 MB, free: 7.219 MB / 362.7 MB Notification: Performance of Templates: time 0.001816/0.3477, allocations: 0.7118 MB / 493.3 MB, free: 6.52 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches