Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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.001463/0.001463, allocations: 183.4 kB / 8.135 MB, free: 2.219 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.172/1.172, allocations: 221.4 MB / 229.9 MB, free: 3.004 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.0009405/0.0009407, allocations: 107.1 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.418e-06/9.438e-06, allocations: 4 kB / 336.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1996, allocations: 50.4 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08662/0.2863, allocations: 76.26 MB / 463.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.2866, allocations: 69.69 kB / 463.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01133/0.2979, allocations: 3.859 MB / 467.1 MB, free: 6.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2979, allocations: 4 kB / 467.1 MB, free: 6.617 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005/0.2984, allocations: 430.6 kB / 467.5 MB, free: 6.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2985, allocations: 8.031 kB / 467.5 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.2988, allocations: 43.78 kB / 467.6 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.299, allocations: 188 kB / 467.8 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.299, allocations: 7.906 kB / 467.8 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.299, allocations: 8 kB / 467.8 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.2991, allocations: 39.92 kB / 467.8 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.2993, allocations: 95.36 kB / 467.9 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2993, allocations: 4 kB / 467.9 MB, free: 5.715 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2993, allocations: 4 kB / 467.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2994, allocations: 0 / 467.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.2998, allocations: 330 kB / 468.2 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.3, allocations: 110.2 kB / 468.3 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.3001, allocations: 41.78 kB / 468.4 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3001, allocations: 4 kB / 468.4 MB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.3003, allocations: 126.4 kB / 468.5 MB, free: 5.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.3003, allocations: 0 / 468.5 MB, free: 5.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002649/0.3006, allocations: 132.6 kB / 468.6 MB, free: 4.898 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.3007, allocations: 89.09 kB / 468.7 MB, free: 4.793 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3008, allocations: 161.7 kB / 468.9 MB, free: 4.629 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.3009, allocations: 41.69 kB / 468.9 MB, free: 4.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.3009, allocations: 96.56 kB / 469 MB, free: 4.484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.301, allocations: 43.48 kB / 469.1 MB, free: 4.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.301, allocations: 1.969 kB / 469.1 MB, free: 4.441 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3011, allocations: 330.8 kB / 469.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3013, allocations: 76.42 kB / 469.5 MB, free: 4.027 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.3014, allocations: 103.3 kB / 469.6 MB, free: 3.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.3017, allocations: 95.92 kB / 469.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3017, allocations: 0 / 469.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004499/0.3021, allocations: 249.3 kB / 469.9 MB, free: 3.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3022, allocations: 12 kB / 469.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.3022, allocations: 0 / 469.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3022, allocations: 4 kB / 469.9 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3024, allocations: 23.98 kB / 469.9 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3024, allocations: 7.922 kB / 469.9 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.966e-05/0.3025, allocations: 19.75 kB / 470 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.3025, allocations: 16 kB / 470 MB, free: 3.492 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.000147/0.3027, allocations: 128.2 kB / 470.1 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.3027, allocations: 11.81 kB / 470.1 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.3028, allocations: 9.406 kB / 470.1 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3028, allocations: 0 / 470.1 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3028, allocations: 4 kB / 470.1 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3028, allocations: 0 / 470.1 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.303, allocations: 195.6 kB / 470.3 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.303, allocations: 4.5 kB / 470.3 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.303, allocations: 8 kB / 470.3 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.303, allocations: 0 / 470.3 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3031, allocations: 7.984 kB / 470.3 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3031, allocations: 0 / 470.3 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3031, allocations: 0 / 470.3 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002249/0.3033, allocations: 184.3 kB / 470.5 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.3034, allocations: 92.86 kB / 470.6 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.3034, allocations: 15.98 kB / 470.6 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.3035, allocations: 8 kB / 470.6 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.3036, allocations: 13.03 kB / 470.7 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3036, allocations: 4 kB / 470.7 MB, free: 2.738 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.237e-05/0.3037, allocations: 127.3 kB / 470.8 MB, free: 2.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003643/0.304, allocations: 59.86 kB / 470.8 MB, free: 2.555 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: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004562/0.3045, allocations: 222 kB / 471.1 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.3049, allocations: 211.3 kB / 471.3 MB, free: 2.148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3049, allocations: 0 / 471.3 MB, free: 2.148 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.178e-05/0.305, allocations: 51.92 kB / 471.3 MB, free: 2.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.3051, allocations: 12.03 kB / 471.3 MB, free: 2.086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.3055, allocations: 168.8 kB / 471.5 MB, free: 1.898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.3057, allocations: 0.727 MB / 472.2 MB, free: 1.145 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3057, allocations: 0 / 472.2 MB, free: 1.145 MB / 346.7 MB Notification: Performance of Templates: time 0.004989/0.3107, allocations: 2.319 MB / 474.5 MB, free: 14.85 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches