Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 183.5 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 224.2 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000797/0.000797, allocations: 78.38 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2509, allocations: 47.58 MB / 377 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09296/0.3439, allocations: 78.29 MB / 455.3 MB, free: 2.246 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.3442, allocations: 71.97 kB / 455.4 MB, free: 2.176 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.022/0.3662, allocations: 7.562 MB / 463 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3663, allocations: 0 / 463 MB, free: 10.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3663, allocations: 0 / 463 MB, free: 10.59 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001008/0.3673, allocations: 0.5261 MB / 463.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3674, allocations: 12.03 kB / 463.5 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.3676, allocations: 28.73 kB / 463.5 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.3679, allocations: 213 kB / 463.7 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.3679, allocations: 4.375 kB / 463.7 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.3679, allocations: 8.375 kB / 463.7 MB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.3682, allocations: 126.8 kB / 463.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3682, allocations: 192 / 463.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.3682, allocations: 15.92 kB / 463.9 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3683, allocations: 0 / 463.9 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.3685, allocations: 67.89 kB / 463.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.3693, allocations: 0.571 MB / 464.5 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.3696, allocations: 171.7 kB / 464.7 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.3698, allocations: 66.61 kB / 464.7 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.3698, allocations: 7.984 kB / 464.8 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/0.3701, allocations: 157.8 kB / 464.9 MB, free: 8.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.744e-06/0.3701, allocations: 0 / 464.9 MB, free: 8.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005995/0.3707, allocations: 269.5 kB / 465.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.3708, allocations: 114.8 kB / 465.3 MB, free: 8.004 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.371, allocations: 199 kB / 465.5 MB, free: 7.801 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.3711, allocations: 45.69 kB / 465.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.3711, allocations: 108.6 kB / 465.6 MB, free: 7.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.3712, allocations: 43.44 kB / 465.7 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.3712, allocations: 12.12 kB / 465.7 MB, free: 7.586 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3714, allocations: 330.8 kB / 466 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.3716, allocations: 95.95 kB / 466.1 MB, free: 7.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.3718, allocations: 137.5 kB / 466.2 MB, free: 7.016 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.3722, allocations: 224.7 kB / 466.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3722, allocations: 0 / 466.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005449/0.3728, allocations: 297.2 kB / 466.7 MB, free: 6.484 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3728, allocations: 4 kB / 466.7 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.3728, allocations: 4 kB / 466.8 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3728, allocations: 0 / 466.8 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.373, allocations: 40.02 kB / 466.8 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.373, allocations: 0 / 466.8 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3731, allocations: 31.67 kB / 466.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.3732, allocations: 12 kB / 466.8 MB, free: 6.395 MB / 346.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 () * Number of clocked 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.0001484/0.3733, allocations: 150.6 kB / 467 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.3733, allocations: 19.75 kB / 467 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.3734, allocations: 21.39 kB / 467 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3734, allocations: 0 / 467 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3734, allocations: 4 kB / 467 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3734, allocations: 0 / 467 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.3736, allocations: 217.5 kB / 467.2 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3736, allocations: 4 kB / 467.2 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.3737, allocations: 11.98 kB / 467.3 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3737, allocations: 0 / 467.3 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.3737, allocations: 11.98 kB / 467.3 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3737, allocations: 4 kB / 467.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3738, allocations: 4 kB / 467.3 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.3742, allocations: 250.4 kB / 467.5 MB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.3743, allocations: 96.84 kB / 467.6 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.3743, allocations: 15.98 kB / 467.6 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.3744, allocations: 4 kB / 467.6 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.3744, allocations: 19.97 kB / 467.7 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3745, allocations: 4 kB / 467.7 MB, free: 5.473 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.3746, allocations: 145.1 kB / 467.8 MB, free: 5.332 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3746, allocations: 0 / 467.8 MB, free: 5.332 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005691/0.3752, allocations: 159.7 kB / 468 MB, free: 5.176 MB / 346.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]) * Number of clocked states: 0 () * 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.001089/0.3763, allocations: 404.4 kB / 468.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004702/0.3767, allocations: 260.6 kB / 468.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3768, allocations: 0 / 468.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.3769, allocations: 71.91 kB / 468.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.3771, allocations: 14.95 kB / 468.7 MB, free: 4.449 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.3777, allocations: 300.2 kB / 469 MB, free: 4.129 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.378, allocations: 0.7201 MB / 469.7 MB, free: 3.383 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.063e-05/0.3781, allocations: 21.41 kB / 469.7 MB, free: 3.363 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.3781, allocations: 19.38 kB / 469.7 MB, free: 3.344 MB / 346.7 MB Notification: Performance of SimCode: time 1.874e-06/0.3781, allocations: 3.938 kB / 469.7 MB, free: 3.34 MB / 346.7 MB Notification: Performance of Templates: time 0.007826/0.386, allocations: 3.727 MB / 473.5 MB, free: 15.61 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches