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.001311/0.001311, allocations: 112.2 kB / 21.19 MB, free: 0.7539 MB / 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.001464/0.001464, allocations: 213.7 kB / 24.49 MB, free: 4.137 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.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 8 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+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.00167/0.00167, allocations: 43.94 kB / 379 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2692, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.00262/0.2718, allocations: 1.364 MB / 433.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.2726, allocations: 366.8 kB / 434.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.2727, allocations: 0 / 434.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.2727, allocations: 3.938 kB / 434.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.2727, allocations: 7.922 kB / 434.1 MB, free: 5.188 MB / 334.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.000497/0.2732, allocations: 91.72 kB / 434.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.447e-05/0.2733, allocations: 19.97 kB / 434.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.2734, allocations: 3.938 kB / 434.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.503e-05/0.2734, allocations: 4 kB / 434.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.913e-05/0.2734, allocations: 15.92 kB / 434.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.2734, allocations: 4 kB / 434.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.2737, allocations: 123.8 kB / 434.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.2737, allocations: 3.984 kB / 434.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.2737, allocations: 11.92 kB / 434.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.2739, allocations: 79.62 kB / 434.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2739, allocations: 4 kB / 434.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2739, allocations: 0 / 434.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.2739, allocations: 0 / 434.5 MB, free: 4.836 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.0004104/0.2743, allocations: 267.6 kB / 434.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2744, allocations: 8.031 kB / 434.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.2744, allocations: 12.88 kB / 434.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.2745, allocations: 114.5 kB / 434.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2745, allocations: 8.375 kB / 434.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.2745, allocations: 384 / 434.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.988e-05/0.2746, allocations: 30.27 kB / 434.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2746, allocations: 192 / 434.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2746, allocations: 3.938 kB / 434.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2746, allocations: 3.984 kB / 434.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.094e-05/0.2747, allocations: 4 kB / 434.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.275, allocations: 220 kB / 435.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.502e-05/0.2751, allocations: 26.52 kB / 435.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.2751, allocations: 12.86 kB / 435.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.2751, allocations: 4 kB / 435.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.2752, allocations: 55.39 kB / 435.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2752, allocations: 4 kB / 435.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001747/0.2754, allocations: 57.61 kB / 435.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.2755, allocations: 55.34 kB / 435.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.209e-05/0.2756, allocations: 109.8 kB / 435.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2756, allocations: 25.7 kB / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.2756, allocations: 80.14 kB / 435.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.2757, allocations: 11.95 kB / 435.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.2757, allocations: 13.72 kB / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2758, allocations: 322.8 kB / 435.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.2759, allocations: 4.25 kB / 435.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-05/0.2759, allocations: 21.72 kB / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.264e-05/0.2759, allocations: 37.64 kB / 436 MB, free: 3.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2759, allocations: 0 / 436 MB, free: 3.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001026/0.276, allocations: 57.58 kB / 436 MB, free: 3.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2761, allocations: 12.03 kB / 436 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2761, allocations: 0 / 436 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.2761, allocations: 3.938 kB / 436 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.2761, allocations: 7.938 kB / 436 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2761, allocations: 4 kB / 436 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.2762, allocations: 0 / 436 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.2762, allocations: 7.984 kB / 436 MB, free: 3.066 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 8.095e-05/0.2762, allocations: 113.8 kB / 436.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.2763, allocations: 0 / 436.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.2763, allocations: 16 kB / 436.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2763, allocations: 0 / 436.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2763, allocations: 0 / 436.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.2763, allocations: 0 / 436.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.2765, allocations: 257.6 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2765, allocations: 3.984 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.109e-05/0.2766, allocations: 0 / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2766, allocations: 0 / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.2766, allocations: 0 / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2766, allocations: 4 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2766, allocations: 0 / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.2767, allocations: 151.4 kB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.2767, allocations: 4 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.2767, allocations: 0 / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.2767, allocations: 0 / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.2768, allocations: 7.984 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.2768, allocations: 0 / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.891e-05/0.2768, allocations: 95.28 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2768, allocations: 4 kB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.2771, allocations: 27.92 kB / 436.7 MB, free: 2.312 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.0004309/0.2775, allocations: 195.3 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.2776, allocations: 23.98 kB / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2776, allocations: 0 / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.681e-05/0.2777, allocations: 7.938 kB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.2779, allocations: 4 kB / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.2782, allocations: 131.4 kB / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.2785, allocations: 0.6807 MB / 437.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.2785, allocations: 7.438 kB / 437.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2785, allocations: 4.062 kB / 437.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of Templates: time 0.003157/0.2817, allocations: 1.159 MB / 438.9 MB, free: 72 kB / 334.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 -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: 7.747130468022078]