Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") [: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.001621/0.001621, allocations: 182.9 kB / 8.132 MB, free: 2.191 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.312/1.312, allocations: 221.4 MB / 229.9 MB, free: 3.125 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.0009702/0.0009699, allocations: 90.97 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.476e-06, allocations: 0 / 336.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2194, allocations: 50.39 MB / 386.9 MB, free: 37.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08631/0.3057, allocations: 78.27 MB / 465.2 MB, free: 7.355 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.306, allocations: 77.41 kB / 465.3 MB, free: 7.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02199/0.328, allocations: 7.239 MB / 472.5 MB, free: 48 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.328, allocations: 4 kB / 472.5 MB, free: 44 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006443/0.3287, allocations: 0.4903 MB / 473 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3287, allocations: 12.03 kB / 473 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.3289, allocations: 31.89 kB / 473 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3291, allocations: 203.6 kB / 473.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.3292, allocations: 6.25 kB / 473.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.3292, allocations: 8 kB / 473.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.882e-05/0.3293, allocations: 35.98 kB / 473.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3295, allocations: 116.1 kB / 473.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3295, allocations: 0 / 473.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3295, allocations: 4 kB / 473.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3295, allocations: 0 / 473.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.3301, allocations: 0.514 MB / 473.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.3303, allocations: 127.7 kB / 474 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.3304, allocations: 50.64 kB / 474.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.3304, allocations: 7.938 kB / 474.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.3305, allocations: 133.2 kB / 474.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.3305, allocations: 0 / 474.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006046/0.3311, allocations: 171.9 kB / 474.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.3312, allocations: 118.8 kB / 474.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.3314, allocations: 180.7 kB / 474.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.3314, allocations: 45.69 kB / 474.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.3315, allocations: 100.5 kB / 474.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.3315, allocations: 35.61 kB / 474.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.3315, allocations: 0 / 474.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3317, allocations: 334.8 kB / 475.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.3318, allocations: 83.78 kB / 475.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.3319, allocations: 108.2 kB / 475.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.3325, allocations: 127.9 kB / 475.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3325, allocations: 0 / 475.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007444/0.3332, allocations: 293.1 kB / 475.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.3332, allocations: 8.094 kB / 475.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.3333, allocations: 4 kB / 475.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3333, allocations: 0 / 475.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.3334, allocations: 31.92 kB / 475.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3334, allocations: 0 / 475.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.687e-05/0.3335, allocations: 28.48 kB / 475.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.3336, allocations: 16 kB / 475.9 MB, free: 12.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * 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.0001073/0.3337, allocations: 132.9 kB / 476 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.3337, allocations: 15.8 kB / 476 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.3338, allocations: 13.41 kB / 476 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3338, allocations: 4 kB / 476 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3338, allocations: 3.906 kB / 476 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3338, allocations: 0 / 476 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.334, allocations: 195.4 kB / 476.2 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.334, allocations: 4 kB / 476.2 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.334, allocations: 11.98 kB / 476.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3341, allocations: 4 kB / 476.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3341, allocations: 0 / 476.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3341, allocations: 4 kB / 476.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3341, allocations: 3.984 kB / 476.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005558/0.3347, allocations: 237.9 kB / 476.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.3347, allocations: 92.92 kB / 476.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.3348, allocations: 15.89 kB / 476.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3349, allocations: 11.98 kB / 476.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.335, allocations: 15.98 kB / 476.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.335, allocations: 11.92 kB / 476.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001052/0.3351, allocations: 128.9 kB / 476.8 MB, free: 11.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005212/0.3356, allocations: 147.8 kB / 476.9 MB, free: 11.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.00115/0.3368, allocations: 428.6 kB / 477.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.3372, allocations: 215.3 kB / 477.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3372, allocations: 0 / 477.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.154e-05/0.3373, allocations: 51.94 kB / 477.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.3374, allocations: 19.94 kB / 477.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.3379, allocations: 193.3 kB / 477.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.3382, allocations: 0.743 MB / 478.5 MB, free: 9.602 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3382, allocations: 0 / 478.5 MB, free: 9.602 MB / 362.7 MB Notification: Performance of Templates: time 0.007156/0.3454, allocations: 3.812 MB / 482.3 MB, free: 5.816 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches