Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 184.2 kB / 8.136 MB, free: 2.207 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.173/1.173, 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.0009074/0.0009076, allocations: 99.69 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.165e-06/8.195e-06, allocations: 4 kB / 336.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.218, allocations: 50.39 MB / 386.9 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0869/0.305, allocations: 78.98 MB / 465.9 MB, free: 7.801 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.3052, allocations: 72.81 kB / 466 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01966/0.3249, allocations: 6.384 MB / 472.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.3249, allocations: 4 kB / 472.3 MB, free: 1.363 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.0008893/0.3258, allocations: 0.5469 MB / 472.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3259, allocations: 8.031 kB / 472.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.3261, allocations: 41.91 kB / 472.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.3264, allocations: 231.5 kB / 473.2 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3264, allocations: 4 kB / 473.2 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.3264, allocations: 15.98 kB / 473.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00021/0.3267, allocations: 92.27 kB / 473.3 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.3269, allocations: 141.5 kB / 473.4 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3269, allocations: 3.984 kB / 473.4 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.327, allocations: 7.984 kB / 473.4 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.327, allocations: 0 / 473.4 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/0.3278, allocations: 0.5228 MB / 474 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.3284, allocations: 223 kB / 474.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.3286, allocations: 81.02 kB / 474.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3286, allocations: 4 kB / 474.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.3288, allocations: 125.7 kB / 474.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.285e-06/0.3288, allocations: 0 / 474.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003654/0.3292, allocations: 168.9 kB / 474.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.3292, allocations: 59.58 kB / 474.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3294, allocations: 162.4 kB / 474.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.3294, allocations: 29.7 kB / 474.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.3295, allocations: 124.4 kB / 474.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.3296, allocations: 75 kB / 475 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.3296, allocations: 0 / 475 MB, free: 14.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3297, allocations: 326.8 kB / 475.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.3299, allocations: 90.33 kB / 475.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.3301, allocations: 113.4 kB / 475.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.3303, allocations: 97.2 kB / 475.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3304, allocations: 3.906 kB / 475.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000494/0.3309, allocations: 276 kB / 475.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3309, allocations: 8 kB / 475.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3309, allocations: 3.938 kB / 475.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3309, allocations: 4.562 kB / 475.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.3313, allocations: 83.91 kB / 476 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3313, allocations: 0 / 476 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3315, allocations: 47.72 kB / 476 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.3315, allocations: 12 kB / 476 MB, free: 13.48 MB / 362.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 9.559e-05/0.3316, allocations: 112.9 kB / 476.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.3317, allocations: 15.81 kB / 476.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.3317, allocations: 34.42 kB / 476.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3318, allocations: 0 / 476.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3318, allocations: 3.906 kB / 476.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3318, allocations: 0 / 476.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007804/0.3326, allocations: 0.5175 MB / 476.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3326, allocations: 0 / 476.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.3329, allocations: 63.89 kB / 476.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3329, allocations: 0 / 476.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.3329, allocations: 8.922 kB / 476.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3329, allocations: 0 / 476.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3329, allocations: 3.938 kB / 476.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004765/0.3334, allocations: 362.7 kB / 477.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.3335, allocations: 96.97 kB / 477.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.3335, allocations: 4 kB / 477.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.3338, allocations: 31.97 kB / 477.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.3339, allocations: 11.98 kB / 477.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.3339, allocations: 11.98 kB / 477.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.45e-05/0.334, allocations: 127.2 kB / 477.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005076/0.3345, allocations: 119.7 kB / 477.5 MB, free: 11.9 MB / 362.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.0008507/0.3354, allocations: 339.6 kB / 477.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004498/0.3358, allocations: 221.6 kB / 478.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3358, allocations: 0 / 478.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.336, allocations: 75.92 kB / 478.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3363, allocations: 24.59 kB / 478.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006312/0.3369, allocations: 309.7 kB / 478.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.3373, allocations: 0.7744 MB / 479.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3373, allocations: 4 kB / 479.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.007524/0.3448, allocations: 3.844 MB / 483.1 MB, free: 6.332 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches