Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001838/0.001838, allocations: 200 kB / 18.11 MB, free: 3.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 226.5 MB / 245.4 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007999/0.0008, allocations: 103.7 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 4 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3015, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09611/0.3977, allocations: 77.82 MB / 487.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.398, allocations: 75.95 kB / 487.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006179/0.4042, allocations: 2.219 MB / 489.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.4042, allocations: 4 kB / 489.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.4042, allocations: 3.031 kB / 489.5 MB, free: 11.43 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.0004007/0.4046, allocations: 367.3 kB / 489.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4047, allocations: 12.03 kB / 489.9 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.4048, allocations: 16.84 kB / 489.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.4051, allocations: 193.2 kB / 490.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4051, allocations: 4.312 kB / 490.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.4051, allocations: 8.375 kB / 490.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.4054, allocations: 109.6 kB / 490.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4054, allocations: 192 / 490.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4055, allocations: 7.875 kB / 490.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4055, allocations: 0 / 490.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.4055, allocations: 23.92 kB / 490.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.406, allocations: 269.8 kB / 490.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.024e-05/0.4061, allocations: 53.08 kB / 490.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.4061, allocations: 17.78 kB / 490.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.4061, allocations: 4 kB / 490.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.4062, allocations: 35.86 kB / 490.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.4062, allocations: 0 / 490.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.000248/0.4064, allocations: 73.75 kB / 490.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.4065, allocations: 89.12 kB / 490.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.4067, allocations: 134.2 kB / 490.9 MB, free: 9.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.4067, allocations: 25.7 kB / 490.9 MB, free: 9.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.4067, allocations: 88.12 kB / 491 MB, free: 9.691 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.4068, allocations: 7.844 kB / 491 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.4068, allocations: 8 kB / 491 MB, free: 9.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4069, allocations: 314.8 kB / 491.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/0.407, allocations: 15.94 kB / 491.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.921e-05/0.407, allocations: 25.7 kB / 491.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.991e-05/0.4071, allocations: 29.7 kB / 491.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4071, allocations: 4.062 kB / 491.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001188/0.4072, allocations: 61.56 kB / 491.4 MB, free: 9.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4073, allocations: 8 kB / 491.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4073, allocations: 0 / 491.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4073, allocations: 0 / 491.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.4074, allocations: 7.984 kB / 491.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.4074, allocations: 0 / 491.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.4074, allocations: 8.062 kB / 491.5 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4074, allocations: 4 kB / 491.5 MB, free: 9.18 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.0001073/0.4075, allocations: 121.8 kB / 491.6 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.4076, allocations: 37.55 kB / 491.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.4076, allocations: 11.88 kB / 491.6 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4077, allocations: 0 / 491.6 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4077, allocations: 4 kB / 491.6 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4077, allocations: 3.984 kB / 491.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.4078, allocations: 169.6 kB / 491.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4079, allocations: 3.938 kB / 491.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.4079, allocations: 12 kB / 491.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4079, allocations: 7.922 kB / 491.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.4079, allocations: 4 kB / 491.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4079, allocations: 0 / 491.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4079, allocations: 0 / 491.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.4081, allocations: 172.2 kB / 492 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.4082, allocations: 93 kB / 492.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.4082, allocations: 0 / 492.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.4083, allocations: 4 kB / 492.1 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.4083, allocations: 0 / 492.1 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.4083, allocations: 4 kB / 492.1 MB, free: 8.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.826e-05/0.4084, allocations: 110 kB / 492.2 MB, free: 8.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4084, allocations: 4.031 kB / 492.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002092/0.4086, allocations: 4 kB / 492.2 MB, free: 8.324 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.0001079/0.4088, allocations: 99.25 kB / 492.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.4089, allocations: 23.98 kB / 492.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4089, allocations: 0 / 492.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/0.4089, allocations: 20.05 kB / 492.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.4093, allocations: 26.41 kB / 492.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.4096, allocations: 181.4 kB / 492.6 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.41, allocations: 0.6926 MB / 493.3 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.735e-05/0.41, allocations: 4 kB / 493.3 MB, free: 7.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.41, allocations: 7.438 kB / 493.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.41, allocations: 3.938 kB / 493.3 MB, free: 7.207 MB / 362.7 MB Notification: Performance of Templates: time 0.002459/0.4125, allocations: 481.9 kB / 493.7 MB, free: 6.746 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches