Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") [: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.001673/0.001673, allocations: 198.6 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 93.36 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.173e-05/1.175e-05, allocations: 4 kB / 343.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 51.49 MB / 394.6 MB, free: 5.188 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/0.3932, allocations: 79.16 MB / 473.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.3934, allocations: 67.91 kB / 473.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01427/0.4077, allocations: 4.914 MB / 478.8 MB, free: 9.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.4078, allocations: 4 kB / 478.8 MB, free: 9.781 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.0008375/0.4086, allocations: 0.5207 MB / 479.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4087, allocations: 12.02 kB / 479.3 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.4089, allocations: 41.06 kB / 479.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.4092, allocations: 244.8 kB / 479.6 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.4092, allocations: 8 kB / 479.6 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.4093, allocations: 12 kB / 479.6 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002207/0.4095, allocations: 92.7 kB / 479.7 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.4097, allocations: 144 kB / 479.8 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4097, allocations: 4 kB / 479.8 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.4098, allocations: 0 / 479.8 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.4098, allocations: 4 kB / 479.8 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007411/0.4105, allocations: 0.5192 MB / 480.4 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.4111, allocations: 222.7 kB / 480.6 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.4112, allocations: 78.16 kB / 480.6 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.4113, allocations: 0 / 480.6 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.4114, allocations: 121.5 kB / 480.8 MB, free: 7.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.4114, allocations: 0 / 480.8 MB, free: 7.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003242/0.4118, allocations: 174.4 kB / 480.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.4118, allocations: 59.58 kB / 481 MB, free: 7.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.4119, allocations: 172.9 kB / 481.2 MB, free: 7.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.412, allocations: 41.62 kB / 481.2 MB, free: 7.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.412, allocations: 112.2 kB / 481.3 MB, free: 7.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.4121, allocations: 66.38 kB / 481.4 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/0.4121, allocations: 0 / 481.4 MB, free: 7.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.726e-05/0.4122, allocations: 342.3 kB / 481.7 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.4123, allocations: 86.55 kB / 481.8 MB, free: 6.949 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.4125, allocations: 111.8 kB / 481.9 MB, free: 6.871 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.4127, allocations: 99.64 kB / 482 MB, free: 6.805 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4127, allocations: 4 kB / 482 MB, free: 6.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004289/0.4132, allocations: 267.2 kB / 482.3 MB, free: 6.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4132, allocations: 4 kB / 482.3 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4132, allocations: 0 / 482.3 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4132, allocations: 4 kB / 482.3 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.4136, allocations: 83.72 kB / 482.4 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4136, allocations: 4 kB / 482.4 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.4138, allocations: 43.73 kB / 482.4 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.4138, allocations: 15.86 kB / 482.4 MB, free: 6.453 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.618e-05/0.4139, allocations: 113.7 kB / 482.5 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.4139, allocations: 15.81 kB / 482.5 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.414, allocations: 25.27 kB / 482.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.414, allocations: 7.984 kB / 482.6 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.414, allocations: 3.938 kB / 482.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.414, allocations: 0 / 482.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006493/0.4147, allocations: 0.5154 MB / 483.1 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4147, allocations: 0 / 483.1 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.415, allocations: 63.89 kB / 483.2 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.415, allocations: 0 / 483.2 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.415, allocations: 4.75 kB / 483.2 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.415, allocations: 4 kB / 483.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.415, allocations: 7.984 kB / 483.2 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003964/0.4154, allocations: 353.4 kB / 483.5 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.4155, allocations: 96.91 kB / 483.6 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.4155, allocations: 7.75 kB / 483.6 MB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.4157, allocations: 33.28 kB / 483.7 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.4158, allocations: 7.984 kB / 483.7 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.4158, allocations: 11.42 kB / 483.7 MB, free: 5.277 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.556e-05/0.4159, allocations: 125.5 kB / 483.8 MB, free: 5.168 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003985/0.4163, allocations: 79.03 kB / 483.9 MB, free: 5.094 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.000482/0.4168, allocations: 222.9 kB / 484.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003816/0.4172, allocations: 227.9 kB / 484.3 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4172, allocations: 0 / 484.3 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.4173, allocations: 82.86 kB / 484.4 MB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.4176, allocations: 20.84 kB / 484.4 MB, free: 4.676 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.4182, allocations: 304.8 kB / 484.7 MB, free: 4.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.4185, allocations: 0.7712 MB / 485.5 MB, free: 3.602 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4185, allocations: 0 / 485.5 MB, free: 3.602 MB / 346.7 MB Notification: Performance of Templates: time 0.00591/0.4244, allocations: 3.168 MB / 488.7 MB, free: 0.4961 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches