Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 241.4 MB, free: 11.6 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008129/0.0008131, allocations: 101.3 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002927, allocations: 11.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2606, allocations: 50.4 MB / 402.7 MB, free: 32.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09467/0.3553, allocations: 77.1 MB / 479.8 MB, free: 3.137 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.3556, allocations: 84.55 kB / 479.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005787/0.3614, allocations: 2.118 MB / 482 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.689e-06/0.3614, allocations: 0.8125 kB / 482 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.3614, allocations: 3.938 kB / 482 MB, free: 0.9375 MB / 346.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.0004014/0.3618, allocations: 367.3 kB / 482.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3619, allocations: 8.031 kB / 482.4 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.3619, allocations: 8.844 kB / 482.4 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.3622, allocations: 208 kB / 482.6 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3622, allocations: 384 / 482.6 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.3622, allocations: 8.375 kB / 482.6 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.3625, allocations: 105.6 kB / 482.7 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3625, allocations: 192 / 482.7 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3626, allocations: 7.938 kB / 482.7 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3626, allocations: 0 / 482.7 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.3627, allocations: 23.92 kB / 482.8 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.3631, allocations: 269.8 kB / 483 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.3632, allocations: 49.08 kB / 483.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/0.3633, allocations: 29.77 kB / 483.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3633, allocations: 0 / 483.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.3633, allocations: 34.55 kB / 483.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 2.655e-06/0.3633, allocations: 0 / 483.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002696/0.3636, allocations: 81.69 kB / 483.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.3637, allocations: 77.11 kB / 483.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.3638, allocations: 145.1 kB / 483.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.3639, allocations: 25.7 kB / 483.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.3639, allocations: 84.14 kB / 483.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.3639, allocations: 3.906 kB / 483.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.3639, allocations: 0 / 483.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3641, allocations: 324.1 kB / 483.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.3641, allocations: 11.97 kB / 483.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.3642, allocations: 25.7 kB / 483.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.956e-05/0.3643, allocations: 37.77 kB / 483.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3643, allocations: 0 / 483.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000125/0.3644, allocations: 61.56 kB / 484 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3644, allocations: 4 kB / 484 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3644, allocations: 4 kB / 484 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3645, allocations: 0 / 484 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.3645, allocations: 11.98 kB / 484 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3646, allocations: 4.062 kB / 484 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.3646, allocations: 4 kB / 484 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3646, allocations: 0 / 484 MB, free: 14.69 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 9.004e-05/0.3647, allocations: 121.8 kB / 484.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.3648, allocations: 41.55 kB / 484.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.3648, allocations: 7.875 kB / 484.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3648, allocations: 0 / 484.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3648, allocations: 0 / 484.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3649, allocations: 12.02 kB / 484.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.365, allocations: 165.6 kB / 484.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3651, allocations: 3.984 kB / 484.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.3651, allocations: 11.94 kB / 484.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3651, allocations: 0 / 484.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3651, allocations: 0 / 484.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3651, allocations: 0 / 484.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3651, allocations: 0 / 484.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.3653, allocations: 176.2 kB / 484.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.3654, allocations: 93 kB / 484.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.3654, allocations: 0 / 484.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.3655, allocations: 7.938 kB / 484.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.3655, allocations: 0 / 484.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.3655, allocations: 4 kB / 484.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.326e-05/0.3656, allocations: 111.3 kB / 484.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3656, allocations: 0 / 484.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.3658, allocations: 4 kB / 484.8 MB, free: 13.84 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.000109/0.3659, allocations: 98.2 kB / 484.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.3661, allocations: 23.98 kB / 484.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3661, allocations: 128 / 484.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.3661, allocations: 19.92 kB / 484.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3664, allocations: 26.64 kB / 484.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.3668, allocations: 177.6 kB / 485.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.3671, allocations: 0.6848 MB / 485.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.08e-05/0.3671, allocations: 3.984 kB / 485.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.3672, allocations: 11.44 kB / 485.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3672, allocations: 0 / 485.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.002407/0.3696, allocations: 480.7 kB / 486.3 MB, free: 12.28 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches