Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") [: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 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 178.7 kB / 8.476 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.2 MB / 214.1 MB, free: 5.242 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009485/0.0009484, allocations: 90.27 kB / 262.1 MB, free: 5.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.704e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0866/0.08663, allocations: 47.59 MB / 362.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2916/0.3783, allocations: 78.15 MB / 440.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.3786, allocations: 67.17 kB / 440.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01941/0.398, allocations: 6.327 MB / 447.1 MB, free: 9.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.903e-05/0.3981, allocations: 3.969 kB / 447.1 MB, free: 9.625 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001466/0.3996, allocations: 0.5534 MB / 447.6 MB, free: 9.137 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/0.3996, allocations: 7.75 kB / 447.7 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.4, allocations: 34.89 kB / 447.7 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.4005, allocations: 248 kB / 447.9 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.4006, allocations: 3.969 kB / 447.9 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/0.4007, allocations: 11.56 kB / 447.9 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002939/0.401, allocations: 98.22 kB / 448 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.4013, allocations: 142.1 kB / 448.2 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4013, allocations: 0 / 448.2 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.4013, allocations: 3.938 kB / 448.2 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.4013, allocations: 3.969 kB / 448.2 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009314/0.4023, allocations: 0.5172 MB / 448.7 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.403, allocations: 223 kB / 448.9 MB, free: 8.379 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.4031, allocations: 78.12 kB / 449 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.4031, allocations: 7.547 kB / 449 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.4033, allocations: 125 kB / 449.1 MB, free: 8.293 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.686e-06/0.4034, allocations: 0 / 449.1 MB, free: 8.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004907/0.4039, allocations: 171.1 kB / 449.3 MB, free: 8.238 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.4039, allocations: 59.53 kB / 449.4 MB, free: 8.172 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.4041, allocations: 176.9 kB / 449.5 MB, free: 8.059 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.4042, allocations: 33.55 kB / 449.6 MB, free: 8.023 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.4042, allocations: 118.4 kB / 449.7 MB, free: 7.922 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.4043, allocations: 64.58 kB / 449.7 MB, free: 7.875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.4043, allocations: 0 / 449.7 MB, free: 7.875 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.4044, allocations: 341.7 kB / 450.1 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.4046, allocations: 87.17 kB / 450.2 MB, free: 7.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.4048, allocations: 116 kB / 450.3 MB, free: 7.512 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.4051, allocations: 99.12 kB / 450.4 MB, free: 7.492 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4051, allocations: 0 / 450.4 MB, free: 7.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004942/0.4056, allocations: 276.7 kB / 450.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4056, allocations: 3.875 kB / 450.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4057, allocations: 7.781 kB / 450.7 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4057, allocations: 0 / 450.7 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.406, allocations: 81.81 kB / 450.7 MB, free: 7.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.406, allocations: 3.875 kB / 450.7 MB, free: 7.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.4063, allocations: 42.89 kB / 450.8 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.4063, allocations: 18.42 kB / 450.8 MB, free: 7.367 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001086/0.4064, allocations: 116.7 kB / 450.9 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.4065, allocations: 19.44 kB / 450.9 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.4065, allocations: 16.3 kB / 450.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4065, allocations: 7.75 kB / 451 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4065, allocations: 0 / 451 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4066, allocations: 0 / 451 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007638/0.4073, allocations: 0.5175 MB / 451.5 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4073, allocations: 0 / 451.5 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.4076, allocations: 65.52 kB / 451.5 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4077, allocations: 0 / 451.5 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.4077, allocations: 3.875 kB / 451.5 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4077, allocations: 7.984 kB / 451.5 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4077, allocations: 0 / 451.5 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004892/0.4082, allocations: 358.2 kB / 451.9 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.4083, allocations: 100.7 kB / 452 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.4083, allocations: 3.875 kB / 452 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.4086, allocations: 31.09 kB / 452 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.4087, allocations: 14.8 kB / 452 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.4087, allocations: 7.828 kB / 452 MB, free: 6.547 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001065/0.4088, allocations: 127.3 kB / 452.2 MB, free: 6.465 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007/0.4095, allocations: 128.1 kB / 452.3 MB, free: 6.422 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00119/0.4107, allocations: 340.9 kB / 452.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004873/0.4112, allocations: 226.4 kB / 452.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4112, allocations: 0 / 452.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.4114, allocations: 81.3 kB / 452.9 MB, free: 6.152 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.4116, allocations: 19.23 kB / 452.9 MB, free: 6.148 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006253/0.4123, allocations: 310.4 kB / 453.3 MB, free: 5.977 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.4126, allocations: 0.7757 MB / 454 MB, free: 5.238 MB / 314.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4126, allocations: 0 / 454 MB, free: 5.238 MB / 314.7 MB Notification: Performance of Templates: time 0.007024/0.4196, allocations: 3.892 MB / 457.9 MB, free: 3.281 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches