Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009707/0.000971, allocations: 175.7 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.392/1.392, allocations: 223.3 MB / 241.4 MB, free: 11.59 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.0008379/0.0008377, allocations: 98.88 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 15.94 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2401, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.3405, allocations: 77.1 MB / 479.8 MB, free: 3.242 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.3408, allocations: 79.95 kB / 479.9 MB, free: 3.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005853/0.3466, allocations: 2.113 MB / 482 MB, free: 1.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.5e-06/0.3467, allocations: 0 / 482 MB, free: 1.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3467, allocations: 7.938 kB / 482 MB, free: 1.047 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.0004227/0.3471, allocations: 367.3 kB / 482.4 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3472, allocations: 8.031 kB / 482.4 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.3472, allocations: 8.844 kB / 482.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.3474, allocations: 208 kB / 482.6 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.3475, allocations: 384 / 482.6 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.3475, allocations: 4.375 kB / 482.6 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.3477, allocations: 109.5 kB / 482.7 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3478, allocations: 4.172 kB / 482.7 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3478, allocations: 7.938 kB / 482.7 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3478, allocations: 0 / 482.7 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.3479, allocations: 23.92 kB / 482.8 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.3483, allocations: 261.8 kB / 483 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.885e-05/0.3484, allocations: 53.09 kB / 483.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.3485, allocations: 25.77 kB / 483.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.3485, allocations: 4 kB / 483.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3485, allocations: 34.56 kB / 483.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 3.928e-06/0.3485, allocations: 0 / 483.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002527/0.3488, allocations: 77.45 kB / 483.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.3489, allocations: 77.11 kB / 483.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.349, allocations: 140.6 kB / 483.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.349, allocations: 29.7 kB / 483.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.3491, allocations: 92.12 kB / 483.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.3491, allocations: 3.906 kB / 483.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.3491, allocations: 0 / 483.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3493, allocations: 316.2 kB / 483.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/0.3493, allocations: 15.92 kB / 483.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.3494, allocations: 21.72 kB / 483.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.019e-05/0.3494, allocations: 33.7 kB / 483.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3495, allocations: 0 / 483.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001217/0.3496, allocations: 69.61 kB / 484 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3496, allocations: 4 kB / 484 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3496, allocations: 0 / 484 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3496, allocations: 4 kB / 484 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.3497, allocations: 4 kB / 484 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3497, allocations: 0 / 484 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/0.3498, allocations: 7.984 kB / 484 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.3498, allocations: 0 / 484 MB, free: 14.81 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 0.0001002/0.3499, allocations: 121.8 kB / 484.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.35, allocations: 41.55 kB / 484.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.35, allocations: 15.86 kB / 484.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.35, allocations: 0 / 484.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.35, allocations: 0 / 484.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.35, allocations: 0 / 484.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.3502, allocations: 173.6 kB / 484.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3502, allocations: 0 / 484.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.3503, allocations: 4 kB / 484.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.3503, allocations: 7.984 kB / 484.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.3503, allocations: 8.031 kB / 484.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3503, allocations: 3.938 kB / 484.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3503, allocations: 0 / 484.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.3505, allocations: 168.2 kB / 484.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.3506, allocations: 93.03 kB / 484.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3506, allocations: 0 / 484.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.3507, allocations: 11.92 kB / 484.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.3507, allocations: 0 / 484.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.3507, allocations: 4 kB / 484.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.842e-05/0.3508, allocations: 110.5 kB / 484.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3508, allocations: 0 / 484.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.351, allocations: 8 kB / 484.8 MB, free: 13.95 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.0001127/0.3512, allocations: 99.25 kB / 484.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.3513, allocations: 23.98 kB / 484.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3513, allocations: 0 / 484.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.3514, allocations: 11.94 kB / 484.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.3517, allocations: 20.73 kB / 484.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.3521, allocations: 177.8 kB / 485.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.3524, allocations: 0.6924 MB / 485.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.295e-05/0.3524, allocations: 3.984 kB / 485.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.3525, allocations: 15.44 kB / 485.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3525, allocations: 0 / 485.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of Templates: time 0.002339/0.3548, allocations: 469.1 kB / 486.3 MB, free: 12.39 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches