Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 195.1 kB / 8.537 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000917/0.000917, allocations: 92.41 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/6.001e-06, allocations: 0 / 343.1 MB, free: 8.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0827/0.08272, allocations: 51.48 MB / 394.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2551/0.3379, allocations: 78.74 MB / 473.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.3381, allocations: 82.3 kB / 473.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01219/0.3503, allocations: 4.512 MB / 478 MB, free: 10.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3504, allocations: 4 kB / 478 MB, free: 10.64 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004637/0.3508, allocations: 435.7 kB / 478.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3509, allocations: 8.031 kB / 478.4 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.351, allocations: 39.7 kB / 478.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.3514, allocations: 241.4 kB / 478.7 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3514, allocations: 4 kB / 478.7 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.3514, allocations: 4 kB / 478.7 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001231/0.3515, allocations: 56.94 kB / 478.7 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.3519, allocations: 278.8 kB / 479 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3519, allocations: 0 / 479 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3519, allocations: 0 / 479 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.352, allocations: 4 kB / 479 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.3523, allocations: 319 kB / 479.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.3526, allocations: 225.3 kB / 479.5 MB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.3527, allocations: 83.31 kB / 479.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.3531, allocations: 0.5779 MB / 480.2 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.3531, allocations: 42.06 kB / 480.2 MB, free: 8.238 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.3531, allocations: 0 / 480.2 MB, free: 8.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002981/0.3534, allocations: 148.4 kB / 480.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.3535, allocations: 110.8 kB / 480.5 MB, free: 7.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3536, allocations: 162.8 kB / 480.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3536, allocations: 25.7 kB / 480.7 MB, free: 7.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.3537, allocations: 92.44 kB / 480.8 MB, free: 7.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.3537, allocations: 18.7 kB / 480.8 MB, free: 7.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.3537, allocations: 6.312 kB / 480.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.3537, allocations: 330.5 kB / 481.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.3538, allocations: 31.23 kB / 481.1 MB, free: 7.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.3539, allocations: 156.5 kB / 481.3 MB, free: 7.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.9e-05/0.3539, allocations: 56.62 kB / 481.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.354, allocations: 0 / 481.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002171/0.3542, allocations: 178.3 kB / 481.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.3542, allocations: 8 kB / 481.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3542, allocations: 4.594 kB / 481.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3542, allocations: 4 kB / 481.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3544, allocations: 51.91 kB / 481.6 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3544, allocations: 4 kB / 481.6 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.3545, allocations: 15.98 kB / 481.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3545, allocations: 14.88 kB / 481.6 MB, free: 6.863 MB / 346.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 () * 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 6.174e-05/0.3546, allocations: 118.3 kB / 481.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.3548, allocations: 138.7 kB / 481.9 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.3551, allocations: 161.5 kB / 482 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3551, allocations: 0 / 482 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3551, allocations: 0 / 482 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3551, allocations: 4 kB / 482 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.3553, allocations: 199.2 kB / 482.2 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.3553, allocations: 0 / 482.2 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.3554, allocations: 39.92 kB / 482.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3555, allocations: 3.906 kB / 482.3 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3555, allocations: 3.984 kB / 482.3 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3555, allocations: 10.38 kB / 482.3 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3555, allocations: 0.875 kB / 482.3 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002269/0.3557, allocations: 266.8 kB / 482.6 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.3558, allocations: 119.4 kB / 482.7 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.3558, allocations: 4 kB / 482.7 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.356, allocations: 11.98 kB / 482.7 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.356, allocations: 4 kB / 482.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3561, allocations: 7.938 kB / 482.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.267e-05/0.3561, allocations: 135.8 kB / 482.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003038/0.3564, allocations: 32 kB / 482.9 MB, free: 5.684 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * 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.0001468/0.3566, allocations: 111.2 kB / 483 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.3568, allocations: 115.7 kB / 483.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3568, allocations: 0 / 483.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.376e-05/0.3568, allocations: 9.125 kB / 483.1 MB, free: 5.473 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.3572, allocations: 126.8 kB / 483.2 MB, free: 5.375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.3576, allocations: 215.2 kB / 483.4 MB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.3578, allocations: 0.7541 MB / 484.2 MB, free: 4.387 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3578, allocations: 0 / 484.2 MB, free: 4.387 MB / 346.7 MB Notification: Performance of Templates: time 0.004093/0.3619, allocations: 2.037 MB / 486.2 MB, free: 2.414 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches