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.001102/0.001102, allocations: 177.2 kB / 16.41 MB, free: 5.703 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.476/1.476, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008198/0.0008198, allocations: 94.3 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 11.98 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2658, allocations: 47.57 MB / 374.5 MB, free: 45.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001263/0.2671, allocations: 1.068 MB / 375.6 MB, free: 44.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005998/0.2677, allocations: 344.8 kB / 375.9 MB, free: 44.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.2678, allocations: 4 kB / 376 MB, free: 44.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.2678, allocations: 1.031 kB / 376 MB, free: 44.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.2679, allocations: 3.938 kB / 376 MB, free: 44.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.2682, allocations: 69.73 kB / 376 MB, free: 44.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.991e-05/0.2683, allocations: 18.02 kB / 376 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.2684, allocations: 1.969 kB / 376 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.2684, allocations: 7.078 kB / 376.1 MB, free: 44.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.404e-05/0.2684, allocations: 10.06 kB / 376.1 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2684, allocations: 1 kB / 376.1 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.2686, allocations: 71.92 kB / 376.1 MB, free: 44.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.2686, allocations: 8.828 kB / 376.1 MB, free: 44.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.2686, allocations: 35.64 kB / 376.2 MB, free: 44.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.2688, allocations: 58.39 kB / 376.2 MB, free: 44.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2688, allocations: 0 / 376.2 MB, free: 44.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2688, allocations: 0 / 376.2 MB, free: 44.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.2688, allocations: 1.281 kB / 376.2 MB, free: 44.1 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.0002972/0.2691, allocations: 340.7 kB / 376.6 MB, free: 43.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2691, allocations: 9.875 kB / 376.6 MB, free: 43.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.2692, allocations: 1 kB / 376.6 MB, free: 43.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.509e-05/0.2693, allocations: 166.1 kB / 376.7 MB, free: 43.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2693, allocations: 9.203 kB / 376.7 MB, free: 43.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.2693, allocations: 1.188 kB / 376.8 MB, free: 43.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.916e-05/0.2694, allocations: 37.22 kB / 376.8 MB, free: 43.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2694, allocations: 4.938 kB / 376.8 MB, free: 43.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2694, allocations: 3.984 kB / 376.8 MB, free: 43.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2694, allocations: 1.188 kB / 376.8 MB, free: 43.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.836e-05/0.2695, allocations: 1.875 kB / 376.8 MB, free: 43.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.2697, allocations: 245.9 kB / 377 MB, free: 43.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.998e-05/0.2698, allocations: 28.03 kB / 377.1 MB, free: 43.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.2698, allocations: 12.98 kB / 377.1 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.2698, allocations: 0 / 377.1 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.2699, allocations: 59.58 kB / 377.1 MB, free: 43.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2699, allocations: 0 / 377.1 MB, free: 43.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001453/0.2701, allocations: 58.09 kB / 377.2 MB, free: 43.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.2701, allocations: 52.78 kB / 377.2 MB, free: 42.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.317e-05/0.2702, allocations: 104.7 kB / 377.3 MB, free: 42.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.2702, allocations: 29.7 kB / 377.4 MB, free: 42.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.2702, allocations: 85.45 kB / 377.5 MB, free: 42.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.2702, allocations: 13.16 kB / 377.5 MB, free: 42.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-06/0.2703, allocations: 0 / 377.5 MB, free: 42.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.615e-05/0.2703, allocations: 320.2 kB / 377.8 MB, free: 42.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.2703, allocations: 8.109 kB / 377.8 MB, free: 42.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.2704, allocations: 23.22 kB / 377.8 MB, free: 42.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.369e-05/0.2704, allocations: 9.5 kB / 377.8 MB, free: 42.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2704, allocations: 0 / 377.8 MB, free: 42.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.043e-05/0.2705, allocations: 61.95 kB / 377.9 MB, free: 42.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2705, allocations: 6.562 kB / 377.9 MB, free: 42.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2705, allocations: 1.094 kB / 377.9 MB, free: 42.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2705, allocations: 1 kB / 377.9 MB, free: 42.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.2706, allocations: 9.922 kB / 377.9 MB, free: 42.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2706, allocations: 5.188 kB / 377.9 MB, free: 42.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.2706, allocations: 4.906 kB / 377.9 MB, free: 42.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.2706, allocations: 1.031 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 5.063e-05/0.2707, allocations: 109 kB / 378 MB, free: 42.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.2707, allocations: 9.109 kB / 378 MB, free: 42.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.2707, allocations: 8.891 kB / 378 MB, free: 42.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2708, allocations: 1.312 kB / 378 MB, free: 42.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2708, allocations: 0 / 378 MB, free: 42.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2708, allocations: 0 / 378 MB, free: 42.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.2709, allocations: 289.2 kB / 378.3 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.271, allocations: 0 / 378.3 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.271, allocations: 2.375 kB / 378.3 MB, free: 41.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.271, allocations: 4.031 kB / 378.3 MB, free: 41.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.271, allocations: 1.281 kB / 378.3 MB, free: 41.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.271, allocations: 0 / 378.3 MB, free: 41.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.271, allocations: 1.25 kB / 378.3 MB, free: 41.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.036e-05/0.2711, allocations: 157.1 kB / 378.5 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.2711, allocations: 83.14 kB / 378.6 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2711, allocations: 384 / 378.6 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.494e-05/0.2712, allocations: 1.094 kB / 378.6 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.2712, allocations: 1.031 kB / 378.6 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.2712, allocations: 5.594 kB / 378.6 MB, free: 41.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.534e-05/0.2713, allocations: 92.17 kB / 378.7 MB, free: 41.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2713, allocations: 0 / 378.7 MB, free: 41.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.2715, allocations: 26.78 kB / 378.7 MB, free: 41.52 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.0003429/0.2719, allocations: 177.1 kB / 378.9 MB, free: 41.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.037e-05/0.272, allocations: 24.17 kB / 378.9 MB, free: 41.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.272, allocations: 5.312 kB / 378.9 MB, free: 41.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.272, allocations: 9.344 kB / 378.9 MB, free: 41.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.2722, allocations: 9.094 kB / 378.9 MB, free: 41.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.2725, allocations: 140.7 kB / 379 MB, free: 41.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.2726, allocations: 0.6781 MB / 379.7 MB, free: 40.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.365e-05/0.2726, allocations: 8.562 kB / 379.7 MB, free: 40.52 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2726, allocations: 1.156 kB / 379.7 MB, free: 40.52 MB / 298.7 MB Notification: Performance of Templates: time 0.002488/0.2751, allocations: 1.143 MB / 380.9 MB, free: 39.93 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/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_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches