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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009581/0.0009581, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001003, allocations: 161.1 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.994/0.994, allocations: 177 MB / 205.2 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.72e-05, allocations: 6.312 kB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001908/0.001935, allocations: 1.381 MB / 274.4 MB, free: 328 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006312/0.002566, allocations: 354.7 kB / 274.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.002604, allocations: 4 kB / 274.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.002632, allocations: 7.938 kB / 274.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.002692, allocations: 4 kB / 274.7 MB, free: 15.96 MB / 266.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.0005263/0.003218, allocations: 91.58 kB / 274.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.435e-05/0.003292, allocations: 15.92 kB / 274.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.003342, allocations: 4 kB / 274.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.003388, allocations: 15.92 kB / 274.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.321e-05/0.003411, allocations: 3.984 kB / 274.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.003427, allocations: 4 kB / 274.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.003625, allocations: 115.7 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.00364, allocations: 0 / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.00367, allocations: 11.98 kB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.003875, allocations: 107.6 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003877, allocations: 0 / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003878, allocations: 0 / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.003884, allocations: 0 / 275.1 MB, free: 15.59 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.0003671/0.004251, allocations: 372.4 kB / 275.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.004293, allocations: 15.98 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.004334, allocations: 0.9375 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.358e-05/0.004418, allocations: 112.6 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.004431, allocations: 4.359 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.004442, allocations: 4.375 kB / 275.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.19e-05/0.004524, allocations: 38.27 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.004531, allocations: 192 / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.004542, allocations: 4.359 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.00455, allocations: 384 / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.635e-05/0.004566, allocations: 11.86 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.00487, allocations: 247.8 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.222e-05/0.004922, allocations: 27.06 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.004944, allocations: 15.75 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.004951, allocations: 0 / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.435e-05/0.005035, allocations: 64.98 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.005036, allocations: 0 / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001611/0.005197, allocations: 53.62 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.005233, allocations: 51.41 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.005318, allocations: 165.9 kB / 276.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.005331, allocations: 29.7 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.005377, allocations: 126.9 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.005393, allocations: 7.953 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.005425, allocations: 27.36 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.00563, allocations: 496.1 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.005658, allocations: 16.7 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.005687, allocations: 31.3 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.092e-05/0.005728, allocations: 31.38 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.005731, allocations: 3.938 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.301e-05/0.005814, allocations: 57.58 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.005829, allocations: 4 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.005836, allocations: 3.938 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.005854, allocations: 4 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.983e-05/0.005914, allocations: 7.984 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.00592, allocations: 0 / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.005935, allocations: 12.03 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.005944, allocations: 0 / 277.1 MB, free: 13.36 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 7.617e-05/0.00602, allocations: 156.6 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.006026, allocations: 0 / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.006053, allocations: 15.94 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006056, allocations: 384 / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.006061, allocations: 3.984 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.006065, allocations: 0 / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.006252, allocations: 285.4 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006253, allocations: 0 / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-06/0.006261, allocations: 11.98 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.006264, allocations: 3.938 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.00627, allocations: 288 / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006271, allocations: 0 / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006272, allocations: 0 / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222e-05/0.006364, allocations: 199.9 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.006373, allocations: 11.94 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.006384, allocations: 0 / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.006408, allocations: 0 / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.006433, allocations: 3.984 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.006444, allocations: 4 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.678e-05/0.006481, allocations: 127.2 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006481, allocations: 0 / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.006663, allocations: 27.92 kB / 277.9 MB, free: 12.45 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.0004042/0.007067, allocations: 200.4 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.00717, allocations: 31.64 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.007172, allocations: 0 / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.007195, allocations: 15.69 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.007349, allocations: 0 / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.007655, allocations: 122.2 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.113e-05/0.007706, allocations: 59.34 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.875e-05/0.007735, allocations: 4 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.007753, allocations: 8.5 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.007754, allocations: 4.062 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of Templates: time 0.002871/0.01063, allocations: 0.9849 MB / 279.4 MB, free: 10.99 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.889522484038025]