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.001171/0.001171, allocations: 180.7 kB / 17.01 MB, free: 5.125 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.712/1.712, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009569/0.0009568, allocations: 92.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 12 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3862, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.5072, allocations: 75.3 MB / 451.1 MB, free: 5.379 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.5076, allocations: 67.97 kB / 451.2 MB, free: 5.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006372/0.5139, allocations: 1.998 MB / 453.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.471e-06/0.514, allocations: 4.094 kB / 453.2 MB, free: 3.301 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.514, allocations: 3.938 kB / 453.2 MB, free: 3.297 MB / 330.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.0004581/0.5145, allocations: 351.2 kB / 453.5 MB, free: 2.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.5145, allocations: 8.031 kB / 453.5 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.5146, allocations: 4 kB / 453.5 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.5147, allocations: 159.1 kB / 453.7 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.5148, allocations: 4 kB / 453.7 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.5148, allocations: 7.953 kB / 453.7 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.5149, allocations: 33.69 kB / 453.7 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5149, allocations: 4 kB / 453.7 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.515, allocations: 0 / 453.7 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.515, allocations: 0 / 453.7 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.515, allocations: 8 kB / 453.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.5154, allocations: 248.9 kB / 454 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.586e-05/0.5154, allocations: 26.56 kB / 454 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.5155, allocations: 4 kB / 454 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.5156, allocations: 47.47 kB / 454.1 MB, free: 2.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.5156, allocations: 0 / 454.1 MB, free: 2.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001759/0.5158, allocations: 61.72 kB / 454.1 MB, free: 2.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.5158, allocations: 51.41 kB / 454.2 MB, free: 2.117 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.5159, allocations: 104.9 kB / 454.3 MB, free: 2.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.5159, allocations: 25.7 kB / 454.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.516, allocations: 88.14 kB / 454.4 MB, free: 1.887 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.516, allocations: 7.906 kB / 454.4 MB, free: 1.879 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.516, allocations: 0 / 454.4 MB, free: 1.879 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5162, allocations: 314.8 kB / 454.7 MB, free: 1.562 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.5162, allocations: 8 kB / 454.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.5162, allocations: 19.94 kB / 454.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.583e-05/0.5163, allocations: 11.98 kB / 454.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5163, allocations: 3.938 kB / 454.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.214e-05/0.5164, allocations: 65.58 kB / 454.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5164, allocations: 7.984 kB / 454.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.5164, allocations: 0 / 454.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.5164, allocations: 4 kB / 454.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.5165, allocations: 4 kB / 454.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.5165, allocations: 0 / 454.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.5165, allocations: 11.88 kB / 454.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.5165, allocations: 0 / 454.8 MB, free: 1.418 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 () * 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 8.546e-05/0.5166, allocations: 113.8 kB / 454.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.5167, allocations: 15.88 kB / 455 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.5167, allocations: 3.906 kB / 455 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5167, allocations: 4 kB / 455 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5167, allocations: 0 / 455 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5167, allocations: 0 / 455 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.5169, allocations: 282.6 kB / 455.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.517, allocations: 0 / 455.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.517, allocations: 4 kB / 455.2 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.517, allocations: 3.938 kB / 455.3 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.517, allocations: 7.984 kB / 455.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.517, allocations: 0 / 455.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.517, allocations: 3.938 kB / 455.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.5172, allocations: 147.5 kB / 455.4 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.5172, allocations: 81.02 kB / 455.5 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.5173, allocations: 4.375 kB / 455.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.247e-05/0.5173, allocations: 0 / 455.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.5173, allocations: 0 / 455.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.5174, allocations: 11.98 kB / 455.5 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.493e-05/0.5174, allocations: 87.28 kB / 455.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5174, allocations: 0 / 455.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002761/0.5177, allocations: 28 kB / 455.6 MB, free: 0.5352 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 () * 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.0004896/0.5182, allocations: 197.8 kB / 455.8 MB, free: 368 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.5183, allocations: 19.94 kB / 455.8 MB, free: 348 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5183, allocations: 0 / 455.8 MB, free: 348 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.5184, allocations: 11.98 kB / 455.8 MB, free: 336 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.5185, allocations: 0 / 455.8 MB, free: 336 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.5188, allocations: 117.2 kB / 456 MB, free: 192 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.5192, allocations: 0.6964 MB / 456.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.05e-05/0.5193, allocations: 4 kB / 456.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.5193, allocations: 7.438 kB / 456.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of SimCode: time 6.72e-07/0.5193, allocations: 0 / 456.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of Templates: time 0.003763/0.5231, allocations: 1.109 MB / 457.8 MB, free: 14.34 MB / 346.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