Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [: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.001006/0.001006, allocations: 184.9 kB / 8.139 MB, free: 2.199 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.14/1.14, allocations: 221.4 MB / 229.9 MB, free: 3.082 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.0008769/0.0008769, allocations: 100.2 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.357e-06/9.467e-06, allocations: 4 kB / 336.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1913, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08216/0.2735, allocations: 76.03 MB / 462.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.2738, allocations: 80.48 kB / 463 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.007936/0.2818, allocations: 2.679 MB / 465.7 MB, free: 8.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.2818, allocations: 4.844 kB / 465.7 MB, free: 8.066 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003292/0.2822, allocations: 367.3 kB / 466.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2822, allocations: 8.031 kB / 466.1 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.2823, allocations: 11.89 kB / 466.1 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.2825, allocations: 205.4 kB / 466.3 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.2825, allocations: 0 / 466.3 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.2825, allocations: 4 kB / 466.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.622e-05/0.2826, allocations: 20 kB / 466.3 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.2828, allocations: 153.1 kB / 466.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2829, allocations: 0 / 466.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.2829, allocations: 0 / 466.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2829, allocations: 0 / 466.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.2831, allocations: 242.3 kB / 466.7 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.602e-05/0.2832, allocations: 42.61 kB / 466.7 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.2833, allocations: 28.92 kB / 466.8 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005466/0.2838, allocations: 0.5855 MB / 467.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.2838, allocations: 30.56 kB / 467.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.2838, allocations: 0 / 467.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000179/0.284, allocations: 73.58 kB / 467.4 MB, free: 6.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.2841, allocations: 55.41 kB / 467.5 MB, free: 5.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2842, allocations: 121.3 kB / 467.6 MB, free: 5.832 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.2842, allocations: 29.7 kB / 467.6 MB, free: 5.797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.2843, allocations: 92.12 kB / 467.7 MB, free: 5.703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.2843, allocations: 7.844 kB / 467.7 MB, free: 5.695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.2843, allocations: 4 kB / 467.7 MB, free: 5.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2844, allocations: 318.8 kB / 468.1 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.2844, allocations: 16.66 kB / 468.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/0.2845, allocations: 65.94 kB / 468.1 MB, free: 5.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.2845, allocations: 30.14 kB / 468.2 MB, free: 5.242 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2845, allocations: 0 / 468.2 MB, free: 5.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001372/0.2847, allocations: 105.5 kB / 468.3 MB, free: 5.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2847, allocations: 4 kB / 468.3 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2847, allocations: 3.906 kB / 468.3 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2847, allocations: 4 kB / 468.3 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.2848, allocations: 12.88 kB / 468.3 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.2848, allocations: 7.938 kB / 468.3 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.492e-05/0.2849, allocations: 0 / 468.3 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.2849, allocations: 11.98 kB / 468.3 MB, free: 5.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.379e-05/0.285, allocations: 113.6 kB / 468.4 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.966e-05/0.2851, allocations: 69.59 kB / 468.5 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.2853, allocations: 88.45 kB / 468.6 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2853, allocations: 0 / 468.6 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2853, allocations: 0.875 kB / 468.6 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2853, allocations: 0 / 468.6 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.737e-05/0.2854, allocations: 154.8 kB / 468.7 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2854, allocations: 7.938 kB / 468.7 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.2854, allocations: 4 kB / 468.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2854, allocations: 0 / 468.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.2855, allocations: 5.375 kB / 468.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2855, allocations: 0 / 468.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2855, allocations: 0 / 468.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001313/0.2856, allocations: 113.7 kB / 468.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.2857, allocations: 92.94 kB / 468.9 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.2857, allocations: 8 kB / 469 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/0.2857, allocations: 0 / 469 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/0.2857, allocations: 0 / 469 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.2858, allocations: 11.98 kB / 469 MB, free: 4.344 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.166e-05/0.2858, allocations: 106.5 kB / 469.1 MB, free: 4.242 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.2861, allocations: 16 kB / 469.1 MB, free: 4.227 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001454/0.2862, allocations: 99.44 kB / 469.2 MB, free: 4.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.2863, allocations: 51.86 kB / 469.2 MB, free: 4.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2863, allocations: 4 kB / 469.2 MB, free: 4.066 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-07/0.2863, allocations: 448 / 469.2 MB, free: 4.066 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.2867, allocations: 84.34 kB / 469.3 MB, free: 3.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.287, allocations: 127.2 kB / 469.4 MB, free: 3.832 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.2872, allocations: 0.7153 MB / 470.2 MB, free: 3.09 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2873, allocations: 0 / 470.2 MB, free: 3.09 MB / 346.7 MB Notification: Performance of Templates: time 0.003182/0.2904, allocations: 1.138 MB / 471.3 MB, free: 1.969 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches