Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001759/0.001759, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009285/0.0009284, allocations: 105.4 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009174/0.0009175, allocations: 56.09 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2251, allocations: 50.46 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002148/0.2273, allocations: 1.416 MB / 408.5 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006423/0.228, allocations: 378 kB / 408.8 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.228, allocations: 0 / 408.8 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.2281, allocations: 0 / 408.8 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/0.2281, allocations: 3.938 kB / 408.8 MB, free: 26.02 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.2285, allocations: 63.86 kB / 408.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.2286, allocations: 19.92 kB / 408.9 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.2287, allocations: 4 kB / 408.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.322e-05/0.2287, allocations: 3.938 kB / 408.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.554e-05/0.2287, allocations: 19.92 kB / 408.9 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.2287, allocations: 0 / 408.9 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.2289, allocations: 79.91 kB / 409 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.2289, allocations: 4 kB / 409 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.2289, allocations: 7.938 kB / 409 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2291, allocations: 91.8 kB / 409.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2291, allocations: 3.938 kB / 409.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2291, allocations: 0 / 409.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.2291, allocations: 0 / 409.1 MB, free: 25.73 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.0003286/0.2294, allocations: 343.5 kB / 409.5 MB, free: 25.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2295, allocations: 12.03 kB / 409.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.2295, allocations: 0.9375 kB / 409.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.187e-05/0.2296, allocations: 173.8 kB / 409.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2296, allocations: 384 / 409.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.2296, allocations: 12.3 kB / 409.7 MB, free: 25.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.639e-05/0.2297, allocations: 30.27 kB / 409.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2297, allocations: 192 / 409.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2297, allocations: 3.938 kB / 409.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2298, allocations: 11.92 kB / 409.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.2298, allocations: 4 kB / 409.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.2301, allocations: 244.9 kB / 410 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.374e-05/0.2301, allocations: 26.58 kB / 410 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.2301, allocations: 12.86 kB / 410 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.2302, allocations: 0 / 410 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.2303, allocations: 59.39 kB / 410 MB, free: 24.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.2303, allocations: 0 / 410 MB, free: 24.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001461/0.2304, allocations: 53.62 kB / 410.1 MB, free: 24.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.2305, allocations: 51.41 kB / 410.1 MB, free: 24.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.465e-05/0.2305, allocations: 113.8 kB / 410.3 MB, free: 24.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.2305, allocations: 25.7 kB / 410.3 MB, free: 24.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.2306, allocations: 84.14 kB / 410.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.2306, allocations: 3.906 kB / 410.4 MB, free: 24.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.2306, allocations: 21.72 kB / 410.4 MB, free: 24.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.2307, allocations: 318.8 kB / 410.7 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.2307, allocations: 4 kB / 410.7 MB, free: 23.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/0.2307, allocations: 21.72 kB / 410.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.2308, allocations: 33.64 kB / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2308, allocations: 0 / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.922e-05/0.2308, allocations: 69.47 kB / 410.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2309, allocations: 4 kB / 410.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2309, allocations: 0 / 410.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2309, allocations: 0 / 410.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.2309, allocations: 8 kB / 410.8 MB, free: 23.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.231, allocations: 0 / 410.8 MB, free: 23.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.231, allocations: 7.875 kB / 410.8 MB, free: 23.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.231, allocations: 11.98 kB / 410.9 MB, free: 23.76 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,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.231, allocations: 115.2 kB / 411 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-06/0.2311, allocations: 8.031 kB / 411 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.862e-05/0.2311, allocations: 3.906 kB / 411 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2311, allocations: 0 / 411 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2311, allocations: 0 / 411 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2311, allocations: 0 / 411 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2313, allocations: 298.7 kB / 411.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2313, allocations: 0 / 411.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.2313, allocations: 0 / 411.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2313, allocations: 4 kB / 411.3 MB, free: 23.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.2313, allocations: 3.938 kB / 411.3 MB, free: 23.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2313, allocations: 4 kB / 411.3 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2313, allocations: 0 / 411.3 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.2315, allocations: 0.6966 MB / 412 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.2316, allocations: 77.11 kB / 412.1 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.2316, allocations: 384 / 412.1 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.2316, allocations: 7.922 kB / 412.1 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.2316, allocations: 8 kB / 412.1 MB, free: 22.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.2317, allocations: 4 kB / 412.1 MB, free: 22.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.235e-05/0.2317, allocations: 83.28 kB / 412.2 MB, free: 22.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2317, allocations: 0 / 412.2 MB, free: 22.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003529/0.2321, allocations: 31.98 kB / 412.2 MB, free: 22.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003377/0.2324, allocations: 174.6 kB / 412.4 MB, free: 22.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.967e-05/0.2325, allocations: 27.86 kB / 412.4 MB, free: 22.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2325, allocations: 0 / 412.4 MB, free: 22.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/0.2325, allocations: 12 kB / 412.4 MB, free: 22.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.2327, allocations: 0 / 412.4 MB, free: 22.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.233, allocations: 222.2 kB / 412.6 MB, free: 21.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.2331, allocations: 0.6809 MB / 413.3 MB, free: 21.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.959e-05/0.2332, allocations: 7.984 kB / 413.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.2332, allocations: 7.438 kB / 413.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2332, allocations: 0 / 413.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of Templates: time 0.002796/0.236, allocations: 0.9415 MB / 414.3 MB, free: 20.16 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches