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.001015/0.001015, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.271/1.271, allocations: 221.3 MB / 235.5 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008374/0.0008374, allocations: 93.8 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.172e-05/2.172e-05, allocations: 4 kB / 343.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.09116, allocations: 50.41 MB / 394.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.285/0.3762, allocations: 77 MB / 471.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.3765, allocations: 77.36 kB / 471.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005692/0.3822, allocations: 2.099 MB / 473.4 MB, free: 8.383 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3822, allocations: 4 kB / 473.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3822, allocations: 0 / 473.4 MB, free: 8.379 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.0003223/0.3825, allocations: 355.3 kB / 473.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3826, allocations: 8.031 kB / 473.8 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.3826, allocations: 19.8 kB / 473.8 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.3828, allocations: 186.9 kB / 474 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3828, allocations: 4 kB / 474 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3829, allocations: 4 kB / 474 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.3831, allocations: 105 kB / 474.1 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3831, allocations: 4 kB / 474.1 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3831, allocations: 3.953 kB / 474.1 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3831, allocations: 0 / 474.1 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.145e-05/0.3832, allocations: 8 kB / 474.1 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.3835, allocations: 281.7 kB / 474.4 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.496e-05/0.3835, allocations: 41.22 kB / 474.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.3836, allocations: 13.78 kB / 474.4 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3836, allocations: 11.92 kB / 474.4 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.3836, allocations: 34.52 kB / 474.5 MB, free: 7.133 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3836, allocations: 0 / 474.5 MB, free: 7.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001424/0.3838, allocations: 49.59 kB / 474.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3838, allocations: 81.05 kB / 474.6 MB, free: 6.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3839, allocations: 127.9 kB / 474.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.384, allocations: 25.77 kB / 474.8 MB, free: 6.816 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.384, allocations: 96.12 kB / 474.9 MB, free: 6.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.384, allocations: 3.906 kB / 474.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.384, allocations: 4 kB / 474.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.3841, allocations: 314.8 kB / 475.2 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.3841, allocations: 4 kB / 475.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.3842, allocations: 17.72 kB / 475.2 MB, free: 6.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.996e-05/0.3842, allocations: 8.062 kB / 475.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3842, allocations: 0 / 475.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.24e-05/0.3843, allocations: 53.58 kB / 475.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3843, allocations: 4 kB / 475.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3843, allocations: 0.7812 kB / 475.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3843, allocations: 0 / 475.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.3844, allocations: 11.98 kB / 475.3 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3844, allocations: 0 / 475.3 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.3845, allocations: 8.062 kB / 475.3 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3845, allocations: 0 / 475.3 MB, free: 6.277 MB / 346.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 () * 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 5.112e-05/0.3845, allocations: 101 kB / 475.4 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.3846, allocations: 53.48 kB / 475.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.3846, allocations: 7.656 kB / 475.4 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3846, allocations: 0 / 475.4 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3846, allocations: 0 / 475.4 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3846, allocations: 0 / 475.4 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3848, allocations: 169.7 kB / 475.6 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3848, allocations: 4.031 kB / 475.6 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.3849, allocations: 7.984 kB / 475.6 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3849, allocations: 0 / 475.6 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.3849, allocations: 7.953 kB / 475.6 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3849, allocations: 3.938 kB / 475.6 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3849, allocations: 0 / 475.6 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.385, allocations: 166 kB / 475.8 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.3851, allocations: 97 kB / 475.9 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.3851, allocations: 3.953 kB / 475.9 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.3852, allocations: 4 kB / 475.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.3852, allocations: 0 / 475.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.3852, allocations: 0 / 475.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.3853, allocations: 109.8 kB / 476 MB, free: 5.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3853, allocations: 0 / 476 MB, free: 5.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.3855, allocations: 4 kB / 476 MB, free: 5.453 MB / 346.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 () * 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.42e-05/0.3856, allocations: 99.28 kB / 476.1 MB, free: 5.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.575e-05/0.3857, allocations: 23.86 kB / 476.1 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3857, allocations: 0 / 476.1 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.556e-05/0.3857, allocations: 4 kB / 476.1 MB, free: 5.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.3859, allocations: 12.03 kB / 476.1 MB, free: 5.309 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.3861, allocations: 99.53 kB / 476.2 MB, free: 5.184 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.3864, allocations: 0.6926 MB / 476.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.993e-05/0.3864, allocations: 8 kB / 476.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.3864, allocations: 7.438 kB / 476.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3864, allocations: 0 / 476.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of Templates: time 0.00214/0.3886, allocations: 481 kB / 477.4 MB, free: 3.992 MB / 346.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/jenkins/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