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.001811/0.001811, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.002807/0.002807, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 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 1.492/1.492, allocations: 230.2 MB / 255.2 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001969/0.001969, allocations: 59.91 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1092, allocations: 53.32 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003033/0.1122, allocations: 1.352 MB / 429.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.1132, allocations: 358.8 kB / 429.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.1132, allocations: 4 kB / 429.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.377e-05/0.1133, allocations: 3.938 kB / 429.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.349e-05/0.1133, allocations: 7.938 kB / 429.5 MB, free: 2.77 MB / 350.1 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.0006383/0.114, allocations: 79.73 kB / 429.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.887e-05/0.1141, allocations: 19.97 kB / 429.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.1141, allocations: 4 kB / 429.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.931e-05/0.1141, allocations: 7.938 kB / 429.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.545e-05/0.1142, allocations: 4 kB / 429.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1142, allocations: 0 / 429.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.1144, allocations: 95.83 kB / 429.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.1144, allocations: 11.92 kB / 429.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.432e-05/0.1145, allocations: 11.92 kB / 429.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.1147, allocations: 79.77 kB / 429.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1147, allocations: 4 kB / 429.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1147, allocations: 0 / 429.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1147, allocations: 0 / 429.9 MB, free: 2.457 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.0005119/0.1153, allocations: 347.3 kB / 430.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1153, allocations: 8.031 kB / 430.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.1153, allocations: 0.9375 kB / 430.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1155, allocations: 180.3 kB / 430.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1155, allocations: 384 / 430.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.1155, allocations: 384 / 430.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1156, allocations: 34.27 kB / 430.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1156, allocations: 4.188 kB / 430.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1156, allocations: 7.922 kB / 430.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1156, allocations: 0 / 430.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.374e-05/0.1157, allocations: 0 / 430.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.1161, allocations: 248.9 kB / 430.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.838e-05/0.1161, allocations: 34.5 kB / 430.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.1162, allocations: 20.8 kB / 430.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.1162, allocations: 0 / 430.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.1163, allocations: 55.39 kB / 430.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1163, allocations: 0 / 430.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001932/0.1165, allocations: 53.62 kB / 430.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1166, allocations: 55.41 kB / 430.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1167, allocations: 113.8 kB / 431 MB, free: 1.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1167, allocations: 25.7 kB / 431 MB, free: 1.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.1168, allocations: 84.14 kB / 431.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.1168, allocations: 7.953 kB / 431.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.1168, allocations: 13.72 kB / 431.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.117, allocations: 318.8 kB / 431.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/0.117, allocations: 4 kB / 431.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.117, allocations: 25.7 kB / 431.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.054e-05/0.1171, allocations: 33.66 kB / 431.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1171, allocations: 0 / 431.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.756e-05/0.1172, allocations: 57.58 kB / 431.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1172, allocations: 10.03 kB / 431.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1172, allocations: 0 / 431.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1172, allocations: 0 / 431.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.1173, allocations: 11.94 kB / 431.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1173, allocations: 0 / 431.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.1173, allocations: 15.95 kB / 431.6 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1173, allocations: 4 kB / 431.6 MB, free: 492 kB / 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 8.58e-05/0.1174, allocations: 109.8 kB / 431.7 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.1174, allocations: 4 kB / 431.7 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.1174, allocations: 7.906 kB / 431.7 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1174, allocations: 0 / 431.7 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1174, allocations: 0 / 431.7 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1174, allocations: 0 / 431.7 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1989/0.3163, allocations: 291.7 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.3163, allocations: 2.281 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.3164, allocations: 1.344 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3164, allocations: 1.188 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3164, allocations: 2.438 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3164, allocations: 0.6875 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3164, allocations: 0.5 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.3166, allocations: 151.4 kB / 432.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.3166, allocations: 79.45 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3166, allocations: 3.688 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/0.3166, allocations: 0.6875 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.3167, allocations: 2.891 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.3167, allocations: 4.391 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.435e-05/0.3167, allocations: 83.03 kB / 432.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3167, allocations: 2.719 kB / 432.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.3171, allocations: 30.17 kB / 432.4 MB, free: 10.87 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.0004368/0.3175, allocations: 180 kB / 432.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.3176, allocations: 19.64 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3176, allocations: 5.312 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.3177, allocations: 9.812 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.3179, allocations: 1.719 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.3182, allocations: 135.7 kB / 432.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.378e-05/0.3183, allocations: 0.681 MB / 433.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.3183, allocations: 9.688 kB / 433.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3183, allocations: 0 / 433.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of Templates: time 0.003003/0.3213, allocations: 1.168 MB / 434.6 MB, free: 9.855 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.253587474115193]