Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 177.1 kB / 13.64 MB, free: 1.676 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.272/1.272, allocations: 221.3 MB / 235.5 MB, free: 2.879 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.0008197/0.0008197, allocations: 88.47 kB / 286.5 MB, free: 188 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.178e-05, allocations: 8 kB / 343.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.09164, allocations: 50.43 MB / 394.3 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2802/0.3719, allocations: 77.01 MB / 471.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.3721, allocations: 83.94 kB / 471.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005664/0.3778, allocations: 2.113 MB / 473.5 MB, free: 8.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3778, allocations: 4 kB / 473.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3779, allocations: 0 / 473.5 MB, free: 8.355 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.0003467/0.3782, allocations: 351 kB / 473.8 MB, free: 7.969 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3783, allocations: 16.02 kB / 473.8 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.3783, allocations: 11.86 kB / 473.8 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.3785, allocations: 195.5 kB / 474 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3785, allocations: 7.984 kB / 474 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.3786, allocations: 0 / 474 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.3788, allocations: 113.9 kB / 474.2 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3788, allocations: 4 kB / 474.2 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3788, allocations: 3.953 kB / 474.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3789, allocations: 0 / 474.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.3789, allocations: 19.92 kB / 474.2 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.3792, allocations: 274.7 kB / 474.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.289e-05/0.3793, allocations: 71.73 kB / 474.5 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.3794, allocations: 30.69 kB / 474.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.3794, allocations: 3.953 kB / 474.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.3794, allocations: 34.56 kB / 474.6 MB, free: 7.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3794, allocations: 3.938 kB / 474.6 MB, free: 7.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001691/0.3796, allocations: 69.53 kB / 474.7 MB, free: 6.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.3797, allocations: 102.8 kB / 474.8 MB, free: 6.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.3798, allocations: 127.4 kB / 474.9 MB, free: 6.703 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3798, allocations: 25.7 kB / 474.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.3799, allocations: 96.03 kB / 475 MB, free: 6.574 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.3799, allocations: 0 / 475 MB, free: 6.574 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.3799, allocations: 0 / 475 MB, free: 6.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.38, allocations: 322.9 kB / 475.3 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.38, allocations: 7.922 kB / 475.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.718e-05/0.38, allocations: 31.44 kB / 475.4 MB, free: 6.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.3801, allocations: 11.94 kB / 475.4 MB, free: 6.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3801, allocations: 0 / 475.4 MB, free: 6.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.877e-05/0.3802, allocations: 69.48 kB / 475.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3802, allocations: 4 kB / 475.4 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3802, allocations: 0 / 475.4 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3802, allocations: 4 kB / 475.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.3803, allocations: 11.98 kB / 475.5 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3803, allocations: 0.7812 kB / 475.5 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.3804, allocations: 4 kB / 475.5 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3804, allocations: 4.125 kB / 475.5 MB, free: 6.086 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.229e-05/0.3804, allocations: 112.9 kB / 475.6 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.3805, allocations: 49.55 kB / 475.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.3805, allocations: 11.66 kB / 475.6 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3806, allocations: 4 kB / 475.6 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3806, allocations: 0 / 475.6 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3806, allocations: 3.938 kB / 475.6 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.3807, allocations: 177.6 kB / 475.8 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3807, allocations: 0 / 475.8 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.3808, allocations: 16 kB / 475.8 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3808, allocations: 0 / 475.8 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3808, allocations: 11.95 kB / 475.8 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3808, allocations: 3.984 kB / 475.8 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3808, allocations: 0 / 475.8 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.381, allocations: 188.6 kB / 476 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.381, allocations: 97 kB / 476.1 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3811, allocations: 0 / 476.1 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.3811, allocations: 4 kB / 476.1 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.3812, allocations: 3.984 kB / 476.1 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3812, allocations: 8.078 kB / 476.1 MB, free: 5.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.043e-05/0.3813, allocations: 110 kB / 476.2 MB, free: 5.191 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3813, allocations: 0 / 476.2 MB, free: 5.191 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.3815, allocations: 12 kB / 476.3 MB, free: 5.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001008/0.3816, allocations: 95.25 kB / 476.3 MB, free: 5.078 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.3817, allocations: 23.92 kB / 476.4 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3817, allocations: 3.938 kB / 476.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.548e-05/0.3817, allocations: 8 kB / 476.4 MB, free: 5.043 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.382, allocations: 24.47 kB / 476.4 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.3822, allocations: 114.7 kB / 476.5 MB, free: 4.879 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.3824, allocations: 0.6981 MB / 477.2 MB, free: 4.156 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.205e-05/0.3825, allocations: 4.188 kB / 477.2 MB, free: 4.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.3825, allocations: 15.44 kB / 477.2 MB, free: 4.137 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3825, allocations: 0 / 477.2 MB, free: 4.137 MB / 346.7 MB Notification: Performance of Templates: time 0.002083/0.3846, allocations: 0.5161 MB / 477.8 MB, free: 3.629 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches