Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.Blocks.Examples.Noise.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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.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_trunk_Modelica.Blocks.Examples.Noise.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 trunk/package.mo): time 0.00145/0.00145, allocations: 200.1 kB / 8.536 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009609/0.000961, allocations: 92.45 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.755e-06/7.935e-06, allocations: 4 kB / 343.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 51.47 MB / 394.6 MB, free: 5.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3158/0.421, allocations: 79.79 MB / 474.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4213, allocations: 74.97 kB / 474.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01798/0.4393, allocations: 6.468 MB / 480.9 MB, free: 7.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.4393, allocations: 4 kB / 480.9 MB, free: 7.961 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009325/0.4403, allocations: 0.5553 MB / 481.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.4403, allocations: 8.031 kB / 481.5 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.4406, allocations: 39.7 kB / 481.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.4409, allocations: 235.2 kB / 481.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.4409, allocations: 8 kB / 481.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.441, allocations: 15.75 kB / 481.8 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002211/0.4412, allocations: 90.31 kB / 481.9 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.4415, allocations: 146 kB / 482 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4415, allocations: 0 / 482 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.4415, allocations: 3.938 kB / 482 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4415, allocations: 5.781 kB / 482 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000781/0.4423, allocations: 0.5182 MB / 482.6 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/0.4429, allocations: 227.2 kB / 482.8 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.443, allocations: 75.84 kB / 482.9 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.4431, allocations: 8.062 kB / 482.9 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.4432, allocations: 112.7 kB / 483 MB, free: 6.059 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.4432, allocations: 0 / 483 MB, free: 6.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003621/0.4436, allocations: 178.1 kB / 483.1 MB, free: 5.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.4436, allocations: 59.59 kB / 483.2 MB, free: 5.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.4438, allocations: 166.6 kB / 483.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4438, allocations: 37.69 kB / 483.4 MB, free: 5.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.4439, allocations: 123 kB / 483.5 MB, free: 5.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.4439, allocations: 61.45 kB / 483.6 MB, free: 5.492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.4439, allocations: 0 / 483.6 MB, free: 5.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.444, allocations: 336 kB / 483.9 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.4442, allocations: 86.61 kB / 484 MB, free: 5.113 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.4443, allocations: 117.9 kB / 484.1 MB, free: 5.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.4445, allocations: 94.77 kB / 484.2 MB, free: 4.965 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4446, allocations: 4 kB / 484.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004433/0.445, allocations: 271.7 kB / 484.5 MB, free: 4.754 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.445, allocations: 6.031 kB / 484.5 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.445, allocations: 3.906 kB / 484.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4451, allocations: 4 kB / 484.5 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.4454, allocations: 75.92 kB / 484.6 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.4454, allocations: 7.984 kB / 484.6 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.4456, allocations: 43.73 kB / 484.6 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.4456, allocations: 15.48 kB / 484.6 MB, free: 4.605 MB / 346.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 8.655e-05/0.4457, allocations: 120.3 kB / 484.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.4458, allocations: 15.81 kB / 484.8 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.4458, allocations: 20.23 kB / 484.8 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4458, allocations: 11.89 kB / 484.8 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4458, allocations: 0.875 kB / 484.8 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4459, allocations: 0 / 484.8 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/0.4465, allocations: 0.5179 MB / 485.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4465, allocations: 0 / 485.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.4468, allocations: 59.95 kB / 485.4 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4468, allocations: 0 / 485.4 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.4468, allocations: 8.438 kB / 485.4 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4468, allocations: 4 kB / 485.4 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4469, allocations: 0 / 485.4 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004056/0.4473, allocations: 354.7 kB / 485.7 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.4473, allocations: 100.9 kB / 485.8 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.4474, allocations: 7.688 kB / 485.8 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.4476, allocations: 37.03 kB / 485.9 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.4477, allocations: 7.984 kB / 485.9 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4477, allocations: 7.984 kB / 485.9 MB, free: 3.426 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.909e-05/0.4477, allocations: 131.5 kB / 486 MB, free: 3.312 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004689/0.4482, allocations: 126.7 kB / 486.1 MB, free: 3.195 MB / 346.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.0008332/0.4491, allocations: 325.8 kB / 486.5 MB, free: 2.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.4494, allocations: 229.7 kB / 486.7 MB, free: 2.742 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4495, allocations: 0 / 486.7 MB, free: 2.742 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.4496, allocations: 79.17 kB / 486.8 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.4498, allocations: 21.39 kB / 486.8 MB, free: 2.676 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.4504, allocations: 299.5 kB / 487.1 MB, free: 2.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.4506, allocations: 0.7775 MB / 487.8 MB, free: 1.594 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4506, allocations: 0 / 487.8 MB, free: 1.594 MB / 346.7 MB Notification: Performance of Templates: time 0.008556/0.4592, allocations: 3.906 MB / 491.8 MB, free: 13.75 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches