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.001309/0.001309, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001433/0.001433, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.417/1.417, allocations: 177.2 MB / 204.9 MB, free: 9.066 MB / 190.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+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 0.001576/0.001576, allocations: 51.81 kB / 325.6 MB, free: 300 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09804, allocations: 53.34 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002807/0.1009, allocations: 1.352 MB / 380.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.1017, allocations: 348.9 kB / 380.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.1017, allocations: 0 / 380.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.1017, allocations: 3.938 kB / 380.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.279e-05/0.1018, allocations: 7.922 kB / 380.6 MB, free: 14 MB / 350.1 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.0005726/0.1024, allocations: 91.7 kB / 380.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.1024, allocations: 12 kB / 380.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.1025, allocations: 7.984 kB / 380.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.1025, allocations: 7.938 kB / 380.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.79e-05/0.1025, allocations: 11.98 kB / 380.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1025, allocations: 0 / 380.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.1028, allocations: 123.8 kB / 380.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.1028, allocations: 3.938 kB / 380.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.1029, allocations: 4 kB / 380.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1031, allocations: 87.69 kB / 381 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1031, allocations: 4 kB / 381 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1031, allocations: 0 / 381 MB, free: 13.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1031, allocations: 0 / 381 MB, free: 13.65 MB / 350.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.0004083/0.1035, allocations: 274.2 kB / 381.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1035, allocations: 8.031 kB / 381.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.1036, allocations: 4.938 kB / 381.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1037, allocations: 114.4 kB / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1037, allocations: 4.375 kB / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.1037, allocations: 4.375 kB / 381.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.588e-05/0.1038, allocations: 38.25 kB / 381.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.1038, allocations: 192 / 381.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1038, allocations: 3.938 kB / 381.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1038, allocations: 0 / 381.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.1038, allocations: 4 kB / 381.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.1042, allocations: 192.6 kB / 381.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.537e-05/0.1042, allocations: 30.52 kB / 381.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.1043, allocations: 8.922 kB / 381.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.1043, allocations: 0 / 381.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.1044, allocations: 59.33 kB / 381.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1044, allocations: 0 / 381.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001885/0.1046, allocations: 65.61 kB / 381.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1047, allocations: 51.41 kB / 381.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.308e-05/0.1047, allocations: 109.8 kB / 381.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1048, allocations: 29.64 kB / 381.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.1048, allocations: 88.14 kB / 382 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.1048, allocations: 11.94 kB / 382 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.1049, allocations: 17.72 kB / 382.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.105, allocations: 314.8 kB / 382.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.582e-05/0.105, allocations: 8 kB / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.1051, allocations: 17.72 kB / 382.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.275e-05/0.1051, allocations: 33.64 kB / 382.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1051, allocations: 0 / 382.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001005/0.1052, allocations: 61.58 kB / 382.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1052, allocations: 8.031 kB / 382.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1052, allocations: 0 / 382.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1052, allocations: 0 / 382.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.1053, allocations: 15.94 kB / 382.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1053, allocations: 0 / 382.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.1053, allocations: 0 / 382.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1054, allocations: 4 kB / 382.5 MB, free: 11.91 MB / 350.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 9.207e-05/0.1054, allocations: 113.8 kB / 382.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.1055, allocations: 3.938 kB / 382.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.1055, allocations: 8 kB / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1055, allocations: 0 / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1055, allocations: 4 kB / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1055, allocations: 4 kB / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.1057, allocations: 234.2 kB / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1057, allocations: 384 / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.1058, allocations: 4 kB / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1058, allocations: 0 / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-06/0.1058, allocations: 4 kB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1058, allocations: 0 / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1058, allocations: 3.938 kB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.1059, allocations: 155.4 kB / 383 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.1059, allocations: 8 kB / 383 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.1059, allocations: 0 / 383 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.106, allocations: 336 / 383 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.106, allocations: 0 / 383 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.106, allocations: 4 kB / 383 MB, free: 11.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.334e-05/0.1061, allocations: 91.2 kB / 383.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1061, allocations: 0 / 383.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1063, allocations: 27.88 kB / 383.2 MB, free: 11.19 MB / 350.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.0004417/0.1068, allocations: 189.4 kB / 383.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.1069, allocations: 19.98 kB / 383.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1069, allocations: 0 / 383.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.759e-05/0.1069, allocations: 7.938 kB / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.1071, allocations: 11.06 kB / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.1074, allocations: 113.7 kB / 383.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.368e-05/0.1074, allocations: 63.34 kB / 383.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.918e-05/0.1075, allocations: 7.984 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.1075, allocations: 8.5 kB / 383.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1075, allocations: 4 kB / 383.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Templates: time 0.003722/0.1112, allocations: 0.9507 MB / 384.5 MB, free: 9.809 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.131261522998102]