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.001034/0.001034, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001127/0.001127, allocations: 165.6 kB / 24.99 MB, free: 8.316 MB / 18.57 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.098/1.098, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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 4.689e-06/4.689e-06, allocations: 4 kB / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/3.273e-05, allocations: 2.312 kB / 273.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002927/0.00296, allocations: 1.39 MB / 274.5 MB, free: 428 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008553/0.003815, allocations: 354.7 kB / 274.8 MB, free: 72 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.00386, allocations: 0 / 274.8 MB, free: 72 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.003892, allocations: 0 / 274.8 MB, free: 72 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.424e-05/0.003966, allocations: 11.92 kB / 274.8 MB, free: 60 kB / 250.7 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.0006165/0.004583, allocations: 87.58 kB / 274.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.719e-05/0.00467, allocations: 19.92 kB / 274.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.004724, allocations: 4 kB / 274.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.004773, allocations: 15.94 kB / 274.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.992e-05/0.004803, allocations: 7.969 kB / 274.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.004821, allocations: 0 / 274.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.005095, allocations: 111.8 kB / 275.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.005117, allocations: 7.969 kB / 275.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.005151, allocations: 8 kB / 275.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.005388, allocations: 95.64 kB / 275.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.005391, allocations: 0 / 275.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005392, allocations: 0 / 275.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.005397, allocations: 0 / 275.2 MB, free: 15.71 MB / 266.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.0004725/0.00587, allocations: 372.5 kB / 275.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.005918, allocations: 19.97 kB / 275.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.005968, allocations: 0.9375 kB / 275.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.006085, allocations: 116.6 kB / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.006104, allocations: 4.375 kB / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.006116, allocations: 384 / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.006216, allocations: 38.19 kB / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.006224, allocations: 192 / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.006235, allocations: 384 / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.006244, allocations: 4.375 kB / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.006265, allocations: 3.938 kB / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.00664, allocations: 243.8 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.501e-05/0.006715, allocations: 42.98 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.006744, allocations: 11.75 kB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.495e-06/0.006753, allocations: 0 / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.006862, allocations: 53.06 kB / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.006864, allocations: 0 / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002024/0.007066, allocations: 61.55 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.00711, allocations: 51.41 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.00723, allocations: 165.9 kB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.007247, allocations: 33.69 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.007305, allocations: 130.9 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.007324, allocations: 3.953 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.007368, allocations: 27.38 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.007531, allocations: 0.4884 MB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/0.007571, allocations: 16.7 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.007606, allocations: 19.38 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.518e-05/0.007661, allocations: 31.55 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.007663, allocations: 3.938 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.975e-05/0.007763, allocations: 61.62 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.007779, allocations: 8.031 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.007788, allocations: 7.875 kB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.007802, allocations: 0 / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.007879, allocations: 15.94 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.007885, allocations: 0 / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.007903, allocations: 0 / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.007911, allocations: 4 kB / 277.2 MB, free: 13.47 MB / 266.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 0.0001004/0.008012, allocations: 160.6 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.008023, allocations: 0 / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.008051, allocations: 11.94 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.008054, allocations: 4 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.008058, allocations: 4 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.008062, allocations: 0 / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.008299, allocations: 281.5 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.0083, allocations: 3.938 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.611e-05/0.008316, allocations: 4 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.00832, allocations: 3.938 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.008328, allocations: 0 / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.008329, allocations: 0 / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.00833, allocations: 0 / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.008453, allocations: 199.9 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-06/0.00846, allocations: 7.938 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.008472, allocations: 4.375 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.377e-05/0.008496, allocations: 0 / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.008517, allocations: 0 / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.00853, allocations: 8 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.392e-05/0.008574, allocations: 127.2 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008574, allocations: 0 / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.008754, allocations: 23.94 kB / 278 MB, free: 12.57 MB / 266.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.0003643/0.009118, allocations: 207.3 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.64e-05/0.009205, allocations: 19.67 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009206, allocations: 0 / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.009229, allocations: 19.67 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.009381, allocations: 7.656 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.009638, allocations: 126.2 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.009675, allocations: 55.36 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.234e-05/0.009697, allocations: 7.984 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.009716, allocations: 12.5 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009717, allocations: 0 / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Templates: time 0.002726/0.01244, allocations: 0.9798 MB / 279.4 MB, free: 11.11 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9067255510017276]