Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001878/0.001878, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002313/0.002313, allocations: 213.7 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 8.062 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 68.77 kB / 379 MB, free: 2.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3586, allocations: 53.38 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003129/0.3618, allocations: 1.348 MB / 433.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3628, allocations: 370.8 kB / 434.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.3628, allocations: 0 / 434.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.3629, allocations: 0 / 434.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.363, allocations: 15.91 kB / 434.1 MB, free: 5.246 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0006414/0.3636, allocations: 91.64 kB / 434.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.73e-05/0.3637, allocations: 15.94 kB / 434.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.3638, allocations: 7.984 kB / 434.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.3638, allocations: 15.92 kB / 434.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.001e-05/0.3638, allocations: 7.938 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.3638, allocations: 0 / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.3641, allocations: 123.8 kB / 434.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.3641, allocations: 7.984 kB / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.3642, allocations: 7.938 kB / 434.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.3644, allocations: 79.62 kB / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3644, allocations: 7.938 kB / 434.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3644, allocations: 0 / 434.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3644, allocations: 0 / 434.5 MB, free: 4.891 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.0004711/0.3649, allocations: 276 kB / 434.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3649, allocations: 12.03 kB / 434.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.365, allocations: 0.9375 kB / 434.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.3651, allocations: 110.5 kB / 434.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3651, allocations: 4.312 kB / 434.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.3651, allocations: 384 / 434.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.3652, allocations: 38.25 kB / 434.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3652, allocations: 192 / 434.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3653, allocations: 7.938 kB / 434.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3653, allocations: 0 / 434.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.029e-05/0.3653, allocations: 4 kB / 434.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.3657, allocations: 219.9 kB / 435.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.287e-05/0.3657, allocations: 22.58 kB / 435.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.3657, allocations: 20.84 kB / 435.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.3658, allocations: 0 / 435.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.3659, allocations: 51.41 kB / 435.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.3659, allocations: 0 / 435.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002033/0.3661, allocations: 57.62 kB / 435.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.3662, allocations: 51.41 kB / 435.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3663, allocations: 105.8 kB / 435.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3663, allocations: 25.7 kB / 435.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.3664, allocations: 88.14 kB / 435.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3664, allocations: 7.938 kB / 435.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.3664, allocations: 21.72 kB / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3666, allocations: 310.8 kB / 435.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.3666, allocations: 11.98 kB / 435.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.712e-05/0.3667, allocations: 25.66 kB / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.631e-05/0.3667, allocations: 29.83 kB / 436 MB, free: 3.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3667, allocations: 0 / 436 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.966e-05/0.3668, allocations: 69.52 kB / 436 MB, free: 3.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3669, allocations: 8 kB / 436 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3669, allocations: 0 / 436 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3669, allocations: 0 / 436 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.367, allocations: 11.98 kB / 436.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.367, allocations: 384 / 436.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.367, allocations: 3.938 kB / 436.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.367, allocations: 4 kB / 436.1 MB, free: 3.129 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 0.000131/0.3671, allocations: 113.8 kB / 436.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.3671, allocations: 12.03 kB / 436.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.3672, allocations: 7.984 kB / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3672, allocations: 0 / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3672, allocations: 0 / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3672, allocations: 0 / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.3675, allocations: 257.6 kB / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3675, allocations: 0 / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.3675, allocations: 0 / 436.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3675, allocations: 4 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3675, allocations: 4 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3675, allocations: 4 kB / 436.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3675, allocations: 0 / 436.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.3677, allocations: 155.4 kB / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.3677, allocations: 0 / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.3677, allocations: 0 / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.512e-05/0.3677, allocations: 8 kB / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.3678, allocations: 0 / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3678, allocations: 0 / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.05e-05/0.3679, allocations: 87.27 kB / 436.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3679, allocations: 0 / 436.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.3682, allocations: 27.94 kB / 436.7 MB, free: 2.379 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.0005698/0.3687, allocations: 192.1 kB / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.3689, allocations: 19.98 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3689, allocations: 0 / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.3689, allocations: 11.94 kB / 437 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.3691, allocations: 4 kB / 437 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.3695, allocations: 101.7 kB / 437.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3699, allocations: 0.6807 MB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.962e-05/0.37, allocations: 12.05 kB / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.37, allocations: 7.438 kB / 437.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.37, allocations: 0 / 437.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of Templates: time 0.004476/0.3745, allocations: 0.9685 MB / 438.7 MB, free: 364 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.719260006211698]