Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00255/0.002555, allocations: 184 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.526/3.526, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001951/0.001951, allocations: 92.36 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006055/0.0006056, allocations: 8 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.5429, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002359/0.5453, allocations: 1.065 MB / 375.6 MB, free: 44.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.5466, allocations: 343.4 kB / 375.9 MB, free: 44.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.5467, allocations: 0 / 375.9 MB, free: 44.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.5468, allocations: 3.938 kB / 375.9 MB, free: 44.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.02e-05/0.5469, allocations: 4.875 kB / 375.9 MB, free: 44.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.5475, allocations: 72.88 kB / 376 MB, free: 44.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.277e-05/0.5476, allocations: 11.52 kB / 376 MB, free: 44.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.85e-05/0.5477, allocations: 6.109 kB / 376 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.5478, allocations: 10.16 kB / 376 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.5478, allocations: 6.422 kB / 376 MB, free: 44.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.5479, allocations: 1.219 kB / 376 MB, free: 44.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.5481, allocations: 61.44 kB / 376.1 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.5482, allocations: 1.094 kB / 376.1 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.5482, allocations: 27.67 kB / 376.1 MB, free: 44.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.5485, allocations: 65.55 kB / 376.2 MB, free: 44.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5485, allocations: 4.938 kB / 376.2 MB, free: 44.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5485, allocations: 0 / 376.2 MB, free: 44.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.5485, allocations: 0 / 376.2 MB, free: 44.13 MB / 298.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.0004389/0.549, allocations: 338.5 kB / 376.5 MB, free: 43.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.549, allocations: 8.562 kB / 376.5 MB, free: 43.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.5491, allocations: 1.031 kB / 376.5 MB, free: 43.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.5492, allocations: 166.1 kB / 376.7 MB, free: 43.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.5493, allocations: 5 kB / 376.7 MB, free: 43.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.5493, allocations: 2.031 kB / 376.7 MB, free: 43.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.5495, allocations: 40.8 kB / 376.7 MB, free: 43.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.5495, allocations: 1 kB / 376.7 MB, free: 43.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.5495, allocations: 0 / 376.7 MB, free: 43.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.5496, allocations: 1.031 kB / 376.7 MB, free: 43.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.952e-05/0.5496, allocations: 6.031 kB / 376.8 MB, free: 43.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.5501, allocations: 237.4 kB / 377 MB, free: 43.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.5502, allocations: 39.67 kB / 377 MB, free: 43.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.5502, allocations: 1 kB / 377 MB, free: 43.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.5504, allocations: 54.38 kB / 377.1 MB, free: 43.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.926e-06/0.5504, allocations: 0 / 377.1 MB, free: 43.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002645/0.5507, allocations: 58.69 kB / 377.1 MB, free: 43.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.5508, allocations: 51.41 kB / 377.2 MB, free: 43.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.5509, allocations: 109.2 kB / 377.3 MB, free: 42.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.5509, allocations: 30.67 kB / 377.3 MB, free: 42.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.551, allocations: 160.6 kB / 377.5 MB, free: 42.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.551, allocations: 8.875 kB / 377.5 MB, free: 42.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.551, allocations: 0 / 377.5 MB, free: 42.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.5511, allocations: 320 kB / 377.8 MB, free: 42.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.269e-05/0.5512, allocations: 4.062 kB / 377.8 MB, free: 42.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.5513, allocations: 18.81 kB / 377.8 MB, free: 42.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.5513, allocations: 13.23 kB / 377.8 MB, free: 42.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5514, allocations: 4 kB / 377.8 MB, free: 42.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001853/0.5515, allocations: 57.83 kB / 377.9 MB, free: 42.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.5516, allocations: 5.719 kB / 377.9 MB, free: 42.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5516, allocations: 0 / 377.9 MB, free: 42.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.5516, allocations: 1.062 kB / 377.9 MB, free: 42.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5518, allocations: 6.344 kB / 377.9 MB, free: 42.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5518, allocations: 1.562 kB / 377.9 MB, free: 42.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.5519, allocations: 4 kB / 377.9 MB, free: 42.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.5519, allocations: 1.594 kB / 377.9 MB, free: 42.32 MB / 298.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 () * Number of clocked 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 9.679e-05/0.552, allocations: 113.3 kB / 378 MB, free: 42.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.552, allocations: 13 kB / 378 MB, free: 42.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.5521, allocations: 9.062 kB / 378 MB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5521, allocations: 3.938 kB / 378.1 MB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.5521, allocations: 1.125 kB / 378.1 MB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5522, allocations: 0 / 378.1 MB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.5525, allocations: 284.5 kB / 378.3 MB, free: 41.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.5525, allocations: 0.9375 kB / 378.3 MB, free: 41.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.5526, allocations: 6.062 kB / 378.3 MB, free: 41.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.5526, allocations: 4 kB / 378.3 MB, free: 41.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.5526, allocations: 5.734 kB / 378.3 MB, free: 41.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.5526, allocations: 0 / 378.3 MB, free: 41.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5526, allocations: 0 / 378.3 MB, free: 41.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.5528, allocations: 150.6 kB / 378.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.5529, allocations: 86.28 kB / 378.6 MB, free: 41.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.5529, allocations: 1.062 kB / 378.6 MB, free: 41.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.553, allocations: 0 / 378.6 MB, free: 41.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.5531, allocations: 10.42 kB / 378.6 MB, free: 41.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.5531, allocations: 1.312 kB / 378.6 MB, free: 41.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.253e-05/0.5532, allocations: 83.06 kB / 378.7 MB, free: 41.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5532, allocations: 3.938 kB / 378.7 MB, free: 41.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006664/0.5539, allocations: 27.27 kB / 378.7 MB, free: 41.5 MB / 298.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 () * Number of clocked 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.0006372/0.5546, allocations: 182.7 kB / 378.9 MB, free: 41.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.5548, allocations: 24.2 kB / 378.9 MB, free: 41.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5548, allocations: 0 / 378.9 MB, free: 41.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/0.5549, allocations: 9.672 kB / 378.9 MB, free: 41.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.5551, allocations: 1.188 kB / 378.9 MB, free: 41.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.5556, allocations: 147.9 kB / 379.1 MB, free: 41.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.5558, allocations: 0.6837 MB / 379.7 MB, free: 40.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.5558, allocations: 9.156 kB / 379.8 MB, free: 40.5 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5558, allocations: 0 / 379.8 MB, free: 40.5 MB / 298.7 MB Notification: Performance of Templates: time 0.005782/0.5616, allocations: 1.198 MB / 381 MB, free: 39.88 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches