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") [: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 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 184.2 kB / 8.136 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.0009355/0.0009356, allocations: 95.22 kB / 280.8 MB, free: 1.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.833e-06, allocations: 0 / 336.5 MB, free: 9.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1937, allocations: 50.4 MB / 386.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08245/0.2762, allocations: 77.92 MB / 464.8 MB, free: 8.891 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.2765, allocations: 88.97 kB / 464.9 MB, free: 8.805 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01296/0.2894, allocations: 4.407 MB / 469.3 MB, free: 4.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.2895, allocations: 4 kB / 469.3 MB, free: 4.426 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.0004874/0.29, allocations: 450 kB / 469.8 MB, free: 3.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.29, allocations: 8.031 kB / 469.8 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.2901, allocations: 23.72 kB / 469.8 MB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.2904, allocations: 242.8 kB / 470 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2904, allocations: 4 kB / 470 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.2904, allocations: 4 kB / 470 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001317/0.2906, allocations: 59.17 kB / 470.1 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.291, allocations: 284.4 kB / 470.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.291, allocations: 3.938 kB / 470.4 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.291, allocations: 0 / 470.4 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.291, allocations: 4 kB / 470.4 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.2914, allocations: 322.1 kB / 470.7 MB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.2917, allocations: 222.8 kB / 470.9 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.2918, allocations: 77.69 kB / 471 MB, free: 2.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005436/0.2924, allocations: 0.5817 MB / 471.6 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.2924, allocations: 38.59 kB / 471.6 MB, free: 1.816 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.2924, allocations: 4 kB / 471.6 MB, free: 1.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003031/0.2928, allocations: 137.4 kB / 471.8 MB, free: 1.672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.2928, allocations: 117.9 kB / 471.9 MB, free: 1.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.293, allocations: 161.5 kB / 472 MB, free: 1.367 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.293, allocations: 26.55 kB / 472.1 MB, free: 1.336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.2931, allocations: 96.5 kB / 472.2 MB, free: 1.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.2931, allocations: 11.91 kB / 472.2 MB, free: 1.227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.2931, allocations: 0 / 472.2 MB, free: 1.227 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.2932, allocations: 342.8 kB / 472.5 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.201e-05/0.2933, allocations: 28.38 kB / 472.5 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.2934, allocations: 153.7 kB / 472.7 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.954e-05/0.2935, allocations: 59.94 kB / 472.7 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2935, allocations: 0 / 472.7 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000246/0.2937, allocations: 178 kB / 472.9 MB, free: 416 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.2937, allocations: 7.938 kB / 472.9 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2937, allocations: 8 kB / 472.9 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2938, allocations: 4.594 kB / 472.9 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2939, allocations: 47.92 kB / 473 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2939, allocations: 7.938 kB / 473 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.2941, allocations: 19.97 kB / 473 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2941, allocations: 12 kB / 473 MB, free: 308 kB / 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 8.764e-05/0.2942, allocations: 116.9 kB / 473.1 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.2944, allocations: 134.1 kB / 473.3 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.2947, allocations: 155.1 kB / 473.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2947, allocations: 7.922 kB / 473.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2947, allocations: 0 / 473.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2947, allocations: 4 kB / 473.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.2949, allocations: 194 kB / 473.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2949, allocations: 0 / 473.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.2951, allocations: 39.97 kB / 473.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2951, allocations: 4.656 kB / 473.7 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2951, allocations: 5.594 kB / 473.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2951, allocations: 4 kB / 473.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2951, allocations: 2.266 kB / 473.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002841/0.2954, allocations: 270 kB / 473.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.164e-05/0.2955, allocations: 112.8 kB / 474 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.2956, allocations: 11.98 kB / 474.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2957, allocations: 11.94 kB / 474.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.2958, allocations: 11.98 kB / 474.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.2958, allocations: 4 kB / 474.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001027/0.2959, allocations: 140.3 kB / 474.2 MB, free: 15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003212/0.2962, allocations: 24 kB / 474.2 MB, free: 14.98 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 () * 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.0001466/0.2964, allocations: 123.2 kB / 474.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.2966, allocations: 119.7 kB / 474.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2966, allocations: 0 / 474.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.226e-05/0.2966, allocations: 1.188 kB / 474.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.297, allocations: 128.5 kB / 474.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.2975, allocations: 216.8 kB / 474.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.2978, allocations: 0.7509 MB / 475.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2978, allocations: 0 / 475.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of Templates: time 0.004749/0.3026, allocations: 2.04 MB / 477.6 MB, free: 11.58 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