Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 143.6 kB / 24.97 MB, free: 8.785 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.012/1.012, allocations: 173.4 MB / 201.5 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.763e-05, allocations: 6.25 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002469/0.002497, allocations: 1.364 MB / 269.4 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007941/0.003291, allocations: 358.8 kB / 269.8 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.003329, allocations: 4 kB / 269.8 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.00336, allocations: 3.938 kB / 269.8 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.288e-05/0.003423, allocations: 0 / 269.8 MB, free: 4.98 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0005767/0.003999, allocations: 95.56 kB / 269.9 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.189e-05/0.004071, allocations: 15.94 kB / 269.9 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.004114, allocations: 3.984 kB / 269.9 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.004159, allocations: 15.92 kB / 269.9 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.322e-05/0.004182, allocations: 4 kB / 269.9 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.004196, allocations: 0 / 269.9 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.004458, allocations: 123.7 kB / 270.1 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.004476, allocations: 8 kB / 270.1 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.004504, allocations: 7.938 kB / 270.1 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.004736, allocations: 91.73 kB / 270.2 MB, free: 4.621 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004739, allocations: 0 / 270.2 MB, free: 4.621 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00474, allocations: 3.938 kB / 270.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004744, allocations: 0 / 270.2 MB, free: 4.617 MB / 250.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.0004017/0.005146, allocations: 372.5 kB / 270.5 MB, free: 4.219 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.005193, allocations: 8.922 kB / 270.5 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.005248, allocations: 4.938 kB / 270.5 MB, free: 4.207 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.005354, allocations: 116.5 kB / 270.7 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.005371, allocations: 4.375 kB / 270.7 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.005381, allocations: 4.375 kB / 270.7 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.475e-05/0.005466, allocations: 30.27 kB / 270.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.005475, allocations: 3.938 kB / 270.7 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.005487, allocations: 3.984 kB / 270.7 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.005498, allocations: 3.984 kB / 270.7 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.033e-05/0.005518, allocations: 4 kB / 270.7 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.005865, allocations: 243.8 kB / 270.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.4e-05/0.005929, allocations: 31.06 kB / 271 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.005957, allocations: 19.73 kB / 271 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.005965, allocations: 3.938 kB / 271 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.006069, allocations: 61.02 kB / 271.1 MB, free: 3.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.006071, allocations: 0 / 271.1 MB, free: 3.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001927/0.006264, allocations: 49.62 kB / 271.1 MB, free: 3.535 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.006309, allocations: 59.41 kB / 271.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.006414, allocations: 161.9 kB / 271.3 MB, free: 3.289 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.006428, allocations: 25.7 kB / 271.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.006477, allocations: 130.9 kB / 271.5 MB, free: 3.125 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.006495, allocations: 11.88 kB / 271.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.006534, allocations: 23.38 kB / 271.5 MB, free: 3.082 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.006786, allocations: 0.4923 MB / 272 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/0.006822, allocations: 20.69 kB / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.006852, allocations: 19.38 kB / 272 MB, free: 2.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/0.006902, allocations: 31.69 kB / 272.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006904, allocations: 0 / 272.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001002/0.007004, allocations: 65.52 kB / 272.1 MB, free: 2.418 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.007023, allocations: 11.98 kB / 272.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.007029, allocations: 4 kB / 272.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.007043, allocations: 0 / 272.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.727e-05/0.00711, allocations: 12.03 kB / 272.2 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.007116, allocations: 0 / 272.2 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.007135, allocations: 0 / 272.2 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.007143, allocations: 4 kB / 272.2 MB, free: 2.387 MB / 250.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 8.139e-05/0.007225, allocations: 156.5 kB / 272.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.00724, allocations: 11.94 kB / 272.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.007267, allocations: 7.984 kB / 272.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007269, allocations: 0 / 272.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.007273, allocations: 0 / 272.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.007276, allocations: 0 / 272.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.007509, allocations: 293.4 kB / 272.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.00751, allocations: 4 kB / 272.6 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.007524, allocations: 0 / 272.6 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.007527, allocations: 0 / 272.6 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.007534, allocations: 0 / 272.6 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007535, allocations: 4 kB / 272.6 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007537, allocations: 0 / 272.6 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.007664, allocations: 208 kB / 272.8 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.007673, allocations: 3.984 kB / 272.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.007684, allocations: 0 / 272.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.00773, allocations: 0 / 272.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.007754, allocations: 7.938 kB / 272.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.007766, allocations: 4 kB / 272.9 MB, free: 1.621 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.251e-05/0.007818, allocations: 131.2 kB / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.007818, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003081/0.008126, allocations: 23.94 kB / 273 MB, free: 1.469 MB / 250.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.0004502/0.008577, allocations: 194 kB / 273.2 MB, free: 1.309 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.008686, allocations: 31.64 kB / 273.2 MB, free: 1.273 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.008688, allocations: 0 / 273.2 MB, free: 1.273 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.008716, allocations: 11.69 kB / 273.2 MB, free: 1.258 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.008949, allocations: 11.94 kB / 273.2 MB, free: 1.246 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.009264, allocations: 114.3 kB / 273.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.009309, allocations: 55.34 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.714e-05/0.009346, allocations: 7.984 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.009372, allocations: 20.55 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of SimCode: time 8.22e-07/0.009373, allocations: 0 / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of Templates: time 0.003548/0.01292, allocations: 0.9822 MB / 274.4 MB, free: 20 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.76790313096717]