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.001019/0.001019, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001075/0.001075, allocations: 170.8 kB / 24.91 MB, free: 9.156 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.5 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 1.413e-06/1.413e-06, allocations: 0 / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.155e-05, allocations: 2.312 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002384/0.002406, allocations: 1.432 MB / 274.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007447/0.003151, allocations: 366.4 kB / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.003186, allocations: 0 / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.003216, allocations: 0 / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.003299, allocations: 3.938 kB / 275.3 MB, free: 15.46 MB / 266.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.0004959/0.003795, allocations: 87.58 kB / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.794e-05/0.003873, allocations: 19.92 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.003919, allocations: 4 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.003969, allocations: 15.97 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.535e-05/0.003995, allocations: 7.938 kB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.004009, allocations: 0 / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.004231, allocations: 123.7 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.004247, allocations: 4 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.004269, allocations: 4 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.004446, allocations: 103.6 kB / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004448, allocations: 0 / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004449, allocations: 0 / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004453, allocations: 4 kB / 275.7 MB, free: 15.1 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.0003123/0.004765, allocations: 236.9 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.004805, allocations: 12.03 kB / 275.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.004837, allocations: 4.922 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.314e-05/0.00493, allocations: 113.7 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.004944, allocations: 384 / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.004953, allocations: 8.312 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.588e-05/0.005019, allocations: 30.25 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.005028, allocations: 4.188 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.005035, allocations: 384 / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.005041, allocations: 384 / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.256e-05/0.005054, allocations: 7.938 kB / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.005281, allocations: 148.3 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.042e-05/0.005331, allocations: 22.52 kB / 276.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.005345, allocations: 8.922 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.005353, allocations: 0 / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.53e-05/0.005438, allocations: 55.39 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 6.302e-06/0.005444, allocations: 0 / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001123/0.005557, allocations: 49.8 kB / 276.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.005593, allocations: 55.34 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.005659, allocations: 114.7 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.00567, allocations: 25.7 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.005699, allocations: 88.11 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.005718, allocations: 7.953 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.005744, allocations: 17.72 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.005822, allocations: 318.8 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.005838, allocations: 16.7 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.005856, allocations: 13.72 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.00589, allocations: 29.62 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005892, allocations: 4 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.614e-05/0.005948, allocations: 49.69 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.005961, allocations: 4 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.005966, allocations: 0 / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.005979, allocations: 0 / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.236e-05/0.006031, allocations: 19.86 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.006035, allocations: 0 / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.006046, allocations: 4.312 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.006053, allocations: 4 kB / 277.1 MB, free: 13.48 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.seed,globalSeed.id_impure,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.81e-05/0.006111, allocations: 105.8 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.006117, allocations: 8.031 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.006139, allocations: 8 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.006142, allocations: 4 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.006145, allocations: 3.938 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-06/0.006151, allocations: 7.984 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.006299, allocations: 186.8 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.0063, allocations: 0 / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-06/0.006308, allocations: 0 / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.00631, allocations: 0 / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.006315, allocations: 0 / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.006319, allocations: 7.938 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00632, allocations: 4 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.334e-05/0.006393, allocations: 131.5 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.006401, allocations: 8 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.128e-06/0.00641, allocations: 0 / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.345e-05/0.006433, allocations: 3.938 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.006455, allocations: 0 / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.006467, allocations: 4 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.663e-05/0.006483, allocations: 16.83 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006483, allocations: 3.938 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.006635, allocations: 23.94 kB / 277.6 MB, free: 12.91 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.0003984/0.007033, allocations: 207.5 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.468e-05/0.007108, allocations: 16.86 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.007111, allocations: 0 / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.007129, allocations: 16.91 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.007239, allocations: 11.94 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.007482, allocations: 108.6 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.007519, allocations: 51.36 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.748e-05/0.007546, allocations: 7.984 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.007581, allocations: 51.38 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.007582, allocations: 0 / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of Templates: time 0.0029/0.01048, allocations: 1.121 MB / 279.2 MB, free: 11.32 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 -s gbode -gbm=radauIIA3 -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.7361220130696893]