Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009878/0.0009877, allocations: 179.5 kB / 16.38 MB, free: 5.766 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.257/1.257, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.0009813/0.0009811, allocations: 95.7 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002623, allocations: 11.94 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2527, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09856/0.3513, allocations: 78.75 MB / 480.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.3516, allocations: 81.83 kB / 480.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01321/0.3648, allocations: 4.789 MB / 485.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3649, allocations: 0 / 485.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.3649, allocations: 12 kB / 485.1 MB, free: 12.86 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005867/0.3655, allocations: 466.7 kB / 485.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3655, allocations: 8.031 kB / 485.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.3656, allocations: 19.72 kB / 485.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.366, allocations: 246.7 kB / 485.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.366, allocations: 8.188 kB / 485.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.366, allocations: 8 kB / 485.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.3667, allocations: 347.2 kB / 486.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.3667, allocations: 0 / 486.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3668, allocations: 0 / 486.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3668, allocations: 0 / 486.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.367, allocations: 107.9 kB / 486.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.3675, allocations: 349.6 kB / 486.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.368, allocations: 276.3 kB / 486.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005688/0.3686, allocations: 0.5818 MB / 487.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3686, allocations: 34.56 kB / 487.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.422e-06/0.3687, allocations: 4 kB / 487.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006299/0.3693, allocations: 341.4 kB / 487.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.3694, allocations: 114.8 kB / 488 MB, free: 9.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3695, allocations: 175.6 kB / 488.1 MB, free: 9.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3696, allocations: 25.7 kB / 488.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.3696, allocations: 104.5 kB / 488.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.3697, allocations: 15.89 kB / 488.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.3697, allocations: 4 kB / 488.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3698, allocations: 330.8 kB / 488.6 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.3699, allocations: 48.33 kB / 488.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.37, allocations: 168.8 kB / 488.8 MB, free: 8.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.3702, allocations: 63.95 kB / 488.9 MB, free: 8.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3702, allocations: 4 kB / 488.9 MB, free: 8.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003083/0.3705, allocations: 217.6 kB / 489.1 MB, free: 8.395 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3705, allocations: 12.03 kB / 489.1 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3705, allocations: 11.92 kB / 489.1 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3705, allocations: 4 kB / 489.1 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3707, allocations: 47.92 kB / 489.2 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3707, allocations: 4 kB / 489.2 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3708, allocations: 23.97 kB / 489.2 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.3709, allocations: 12 kB / 489.2 MB, free: 8.281 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001416/0.371, allocations: 151.5 kB / 489.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.3713, allocations: 169.3 kB / 489.5 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.3717, allocations: 193.7 kB / 489.7 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3717, allocations: 0 / 489.7 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3717, allocations: 4 kB / 489.7 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3717, allocations: 3.938 kB / 489.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.3719, allocations: 229.5 kB / 490 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.3719, allocations: 4 kB / 490 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3721, allocations: 39.97 kB / 490 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3721, allocations: 0 / 490 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3721, allocations: 8 kB / 490 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3721, allocations: 3.938 kB / 490 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3721, allocations: 0 / 490 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.3725, allocations: 313.7 kB / 490.3 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3727, allocations: 112.9 kB / 490.4 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.3727, allocations: 11.94 kB / 490.4 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.3729, allocations: 12 kB / 490.5 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.3729, allocations: 3.984 kB / 490.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.3729, allocations: 8 kB / 490.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.3731, allocations: 147.4 kB / 490.6 MB, free: 6.785 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3731, allocations: 0 / 490.6 MB, free: 6.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.3734, allocations: 35.94 kB / 490.6 MB, free: 6.75 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002052/0.3736, allocations: 119.2 kB / 490.8 MB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.3739, allocations: 143.8 kB / 490.9 MB, free: 6.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3739, allocations: 4 kB / 490.9 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.374, allocations: 9.172 kB / 490.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.3745, allocations: 153.9 kB / 491.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.3751, allocations: 370.9 kB / 491.4 MB, free: 5.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.3754, allocations: 0.7402 MB / 492.2 MB, free: 5.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.447e-05/0.3755, allocations: 21.53 kB / 492.2 MB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.3755, allocations: 15.44 kB / 492.2 MB, free: 5.113 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3755, allocations: 4 kB / 492.2 MB, free: 5.109 MB / 362.7 MB Notification: Performance of Templates: time 0.004674/0.3802, allocations: 2.088 MB / 494.3 MB, free: 3.035 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches