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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 104.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 193.7 kB / 22.76 MB, free: 5.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] 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 0.001548/0.001548, allocations: 47.92 kB / 369.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2705, allocations: 52.15 MB / 421.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003089/0.2736, allocations: 1.333 MB / 422.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.2745, allocations: 364.9 kB / 423 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.2745, allocations: 0 / 423 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.2746, allocations: 4 kB / 423 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.525e-05/0.2746, allocations: 3.938 kB / 423 MB, free: 13.44 MB / 334.1 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.0005862/0.2752, allocations: 91.7 kB / 423.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.281e-05/0.2753, allocations: 11.94 kB / 423.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.2753, allocations: 4 kB / 423.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.2754, allocations: 15.92 kB / 423.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.63e-05/0.2754, allocations: 7.922 kB / 423.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2754, allocations: 7.938 kB / 423.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.2756, allocations: 91.89 kB / 423.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.2757, allocations: 0 / 423.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.2757, allocations: 11.94 kB / 423.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.2759, allocations: 83.61 kB / 423.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2759, allocations: 4 kB / 423.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2759, allocations: 0 / 423.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.276, allocations: 0 / 423.3 MB, free: 13.12 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.0005437/0.2765, allocations: 352.6 kB / 423.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2765, allocations: 8.031 kB / 423.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.2766, allocations: 8.891 kB / 423.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.2767, allocations: 160.4 kB / 423.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.2768, allocations: 384 / 423.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.2768, allocations: 8.375 kB / 423.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.2769, allocations: 41.62 kB / 423.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2769, allocations: 0 / 423.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2769, allocations: 3.938 kB / 423.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2769, allocations: 0 / 423.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.792e-05/0.2769, allocations: 4 kB / 423.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.2774, allocations: 248.8 kB / 424.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.811e-05/0.2775, allocations: 30.56 kB / 424.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.2775, allocations: 12.92 kB / 424.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.2775, allocations: 0 / 424.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.2776, allocations: 51.41 kB / 424.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 5.13e-06/0.2776, allocations: 3.984 kB / 424.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001916/0.2778, allocations: 61.56 kB / 424.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.2779, allocations: 55.41 kB / 424.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/0.278, allocations: 101.9 kB / 424.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.278, allocations: 33.7 kB / 424.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.278, allocations: 84.12 kB / 424.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.278, allocations: 3.953 kB / 424.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.2781, allocations: 17.72 kB / 424.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2782, allocations: 326.8 kB / 424.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.2783, allocations: 4 kB / 424.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.2783, allocations: 21.72 kB / 424.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.056e-05/0.2783, allocations: 26.03 kB / 424.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2783, allocations: 3.984 kB / 425 MB, free: 11.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001047/0.2784, allocations: 61.62 kB / 425 MB, free: 11.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2785, allocations: 7.938 kB / 425 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2785, allocations: 4 kB / 425 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.2785, allocations: 0 / 425 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.2785, allocations: 8 kB / 425 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2786, allocations: 4.031 kB / 425 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.2786, allocations: 3.953 kB / 425 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.2786, allocations: 7.938 kB / 425 MB, free: 11.16 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 9.9e-05/0.2787, allocations: 121.7 kB / 425.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.2787, allocations: 3.984 kB / 425.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.2787, allocations: 3.906 kB / 425.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2787, allocations: 0 / 425.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2787, allocations: 0 / 425.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2787, allocations: 4 kB / 425.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.279, allocations: 294.5 kB / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.279, allocations: 0 / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.279, allocations: 4 kB / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.279, allocations: 0 / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.279, allocations: 3.984 kB / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.279, allocations: 0 / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.279, allocations: 0 / 425.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.2792, allocations: 147.5 kB / 425.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.2792, allocations: 81.06 kB / 425.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.2792, allocations: 0 / 425.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.2793, allocations: 8 kB / 425.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.2793, allocations: 11.86 kB / 425.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.2793, allocations: 0 / 425.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.2794, allocations: 79.28 kB / 425.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2794, allocations: 4 kB / 425.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.2797, allocations: 27.92 kB / 425.8 MB, free: 10.27 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.0004543/0.2801, allocations: 182.4 kB / 426 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.2802, allocations: 19.98 kB / 426 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2802, allocations: 4 kB / 426 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.598e-05/0.2803, allocations: 19.98 kB / 426 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.2804, allocations: 3.938 kB / 426 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.2808, allocations: 139.2 kB / 426.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.2811, allocations: 0.6844 MB / 426.9 MB, free: 9.188 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.2812, allocations: 15.38 kB / 426.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2812, allocations: 0 / 426.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of Templates: time 0.003457/0.2846, allocations: 1.151 MB / 428 MB, free: 8.02 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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