Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 210.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 48.06 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2241, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002449/0.2266, allocations: 1.356 MB / 433.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008171/0.2274, allocations: 350.8 kB / 434 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.2274, allocations: 4 kB / 434 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.2275, allocations: 0 / 434 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.738e-05/0.2275, allocations: 3.938 kB / 434 MB, free: 5.016 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.0005032/0.228, allocations: 87.72 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.185e-05/0.2281, allocations: 19.91 kB / 434.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.2281, allocations: 8 kB / 434.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.296e-05/0.2282, allocations: 4 kB / 434.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.327e-05/0.2282, allocations: 7.922 kB / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.2282, allocations: 8 kB / 434.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.2284, allocations: 119.8 kB / 434.3 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.2285, allocations: 4 kB / 434.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.2285, allocations: 11.92 kB / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.2287, allocations: 90.64 kB / 434.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2287, allocations: 0 / 434.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2287, allocations: 0 / 434.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2287, allocations: 0 / 434.4 MB, free: 4.668 MB / 334.1 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.0003991/0.2291, allocations: 273.8 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2291, allocations: 8.031 kB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.2292, allocations: 4.938 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2293, allocations: 114.5 kB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2293, allocations: 4.375 kB / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.2293, allocations: 384 / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.897e-05/0.2294, allocations: 34.27 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2294, allocations: 4.172 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2294, allocations: 3.938 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2294, allocations: 0 / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.687e-05/0.2294, allocations: 19.86 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.2298, allocations: 188.6 kB / 435 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.089e-05/0.2299, allocations: 22.58 kB / 435.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.2299, allocations: 16.91 kB / 435.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.2299, allocations: 4 kB / 435.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.23, allocations: 59.28 kB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.23, allocations: 0 / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001757/0.2302, allocations: 49.69 kB / 435.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.2302, allocations: 51.41 kB / 435.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2304, allocations: 109.8 kB / 435.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.2304, allocations: 25.7 kB / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.2304, allocations: 84.14 kB / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.2304, allocations: 11.95 kB / 435.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.2305, allocations: 17.7 kB / 435.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2306, allocations: 318.8 kB / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.2307, allocations: 7.938 kB / 435.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.2307, allocations: 25.64 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.305e-05/0.2308, allocations: 29.72 kB / 435.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2308, allocations: 0 / 435.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.2309, allocations: 61.52 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2309, allocations: 4 kB / 435.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2309, allocations: 32 / 435.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2309, allocations: 8 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-05/0.2309, allocations: 7.984 kB / 435.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.231, allocations: 0 / 435.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.231, allocations: 4 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.231, allocations: 4 kB / 435.9 MB, free: 2.938 MB / 334.1 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 8.456e-05/0.2311, allocations: 109.8 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.2311, allocations: 3.938 kB / 436.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.2311, allocations: 8 kB / 436.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2311, allocations: 4 kB / 436.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2311, allocations: 0 / 436.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2311, allocations: 7.984 kB / 436.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.2314, allocations: 230.2 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2314, allocations: 4 kB / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/0.2314, allocations: 4.359 kB / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2314, allocations: 288 / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.2314, allocations: 0 / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2314, allocations: 7.938 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2314, allocations: 4 kB / 436.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.2315, allocations: 155.4 kB / 436.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.2315, allocations: 4 kB / 436.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.2315, allocations: 4 kB / 436.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.2316, allocations: 0 / 436.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.2316, allocations: 7.984 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.2316, allocations: 0 / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.245e-05/0.2317, allocations: 83.28 kB / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2317, allocations: 3.938 kB / 436.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00027/0.2319, allocations: 27.92 kB / 436.6 MB, free: 2.211 MB / 334.1 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.0004189/0.2324, allocations: 190.2 kB / 436.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.693e-05/0.2325, allocations: 16 kB / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2325, allocations: 3.938 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.2325, allocations: 11.98 kB / 436.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.2327, allocations: 3.938 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.2329, allocations: 109.7 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.885e-05/0.233, allocations: 63.41 kB / 437 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.804e-05/0.233, allocations: 4 kB / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.233, allocations: 11.44 kB / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.233, allocations: 0 / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of Templates: time 0.003557/0.2366, allocations: 0.9702 MB / 438 MB, free: 0.8203 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.301979309995659]