Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009834/0.0009835, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.616/1.616, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008029/0.000803, allocations: 70.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.544e-05, allocations: 7.984 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09358/0.09362, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.333/0.4266, allocations: 75.2 MB / 445.2 MB, free: 2.027 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4269, allocations: 66.22 kB / 445.3 MB, free: 1.992 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005298/0.4322, allocations: 1.995 MB / 447.3 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4322, allocations: 0 / 447.3 MB, free: 272 kB / 314.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.4322, allocations: 7.938 kB / 447.3 MB, free: 264 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003165/0.4326, allocations: 322.6 kB / 447.6 MB, free: 15.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4326, allocations: 12.03 kB / 447.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.4327, allocations: 8.469 kB / 447.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.4328, allocations: 170.9 kB / 447.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.4328, allocations: 7.984 kB / 447.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.4328, allocations: 3.953 kB / 447.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.4329, allocations: 33.64 kB / 447.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.4329, allocations: 0 / 447.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.4329, allocations: 0 / 447.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.433, allocations: 4 kB / 447.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/0.433, allocations: 7.922 kB / 447.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.4333, allocations: 244.9 kB / 448.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.966e-05/0.4334, allocations: 26.14 kB / 448.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.4334, allocations: 12.86 kB / 448.1 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.4334, allocations: 0 / 448.1 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.4335, allocations: 51.34 kB / 448.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4335, allocations: 0 / 448.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001463/0.4337, allocations: 53.56 kB / 448.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.4337, allocations: 51.41 kB / 448.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.4338, allocations: 100.7 kB / 448.4 MB, free: 15.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.4338, allocations: 29.58 kB / 448.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.4339, allocations: 84.08 kB / 448.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.4339, allocations: 3.906 kB / 448.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.4339, allocations: 0 / 448.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.434, allocations: 321 kB / 448.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.434, allocations: 8 kB / 448.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/0.4341, allocations: 20.41 kB / 448.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.349e-05/0.4341, allocations: 11.92 kB / 448.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4341, allocations: 7.953 kB / 448.8 MB, free: 14.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.17e-05/0.4342, allocations: 57.47 kB / 448.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4342, allocations: 4 kB / 448.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4342, allocations: 3.938 kB / 448.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4342, allocations: 4 kB / 448.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.585e-05/0.4343, allocations: 8.031 kB / 448.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4343, allocations: 3.984 kB / 448.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.4343, allocations: 4 kB / 448.9 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.4343, allocations: 0 / 448.9 MB, free: 14.44 MB / 330.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: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.992e-05/0.4344, allocations: 116.7 kB / 449 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.4344, allocations: 3.953 kB / 449 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.4345, allocations: 4.031 kB / 449.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.4345, allocations: 0 / 449.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4345, allocations: 0 / 449.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4345, allocations: 8 kB / 449.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.4347, allocations: 290.3 kB / 449.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4347, allocations: 0 / 449.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.4348, allocations: 4.047 kB / 449.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4348, allocations: 3.984 kB / 449.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.4348, allocations: 0 / 449.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4348, allocations: 0 / 449.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4348, allocations: 0 / 449.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.4349, allocations: 158.5 kB / 449.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.4349, allocations: 77.11 kB / 449.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.435, allocations: 8.859 kB / 449.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.435, allocations: 0 / 449.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.435, allocations: 3.875 kB / 449.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.435, allocations: 0 / 449.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.855e-05/0.4351, allocations: 87.66 kB / 449.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4351, allocations: 0 / 449.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.4353, allocations: 39.86 kB / 449.7 MB, free: 13.58 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003926/0.4357, allocations: 188.3 kB / 449.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.34e-05/0.4358, allocations: 23.56 kB / 449.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4358, allocations: 4.062 kB / 449.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.325e-05/0.4359, allocations: 7.938 kB / 449.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.436, allocations: 3.953 kB / 449.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001699/0.4362, allocations: 61.67 kB / 450 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.4364, allocations: 0.6809 MB / 450.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.208e-05/0.4365, allocations: 7.984 kB / 450.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.4365, allocations: 7.438 kB / 450.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4365, allocations: 0 / 450.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of Templates: time 0.003202/0.4397, allocations: 1.126 MB / 451.8 MB, free: 11.45 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches