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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 185.4 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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.001578/0.001578, allocations: 47.92 kB / 371.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2411, allocations: 52.19 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002601/0.2437, allocations: 1.326 MB / 425.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007784/0.2445, allocations: 353.5 kB / 425.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.2446, allocations: 0 / 425.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.2446, allocations: 3.938 kB / 425.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.2446, allocations: 0 / 425.5 MB, free: 12.77 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.0005122/0.2451, allocations: 95.69 kB / 425.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.997e-05/0.2452, allocations: 15.94 kB / 425.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.2452, allocations: 0 / 425.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.47e-05/0.2453, allocations: 11.98 kB / 425.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.407e-05/0.2453, allocations: 11.92 kB / 425.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.2453, allocations: 4 kB / 425.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.2456, allocations: 123.8 kB / 425.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.2456, allocations: 0 / 425.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.2456, allocations: 3.938 kB / 425.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.2458, allocations: 94.7 kB / 425.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2458, allocations: 0 / 425.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2458, allocations: 0 / 425.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2458, allocations: 0 / 425.9 MB, free: 12.42 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.0003805/0.2462, allocations: 273.8 kB / 426.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2462, allocations: 12.03 kB / 426.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.2462, allocations: 4.891 kB / 426.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.2463, allocations: 110.5 kB / 426.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.2463, allocations: 384 / 426.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2464, allocations: 4.359 kB / 426.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.026e-05/0.2464, allocations: 49.5 kB / 426.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2465, allocations: 0 / 426.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.2465, allocations: 4 kB / 426.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2465, allocations: 4 kB / 426.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.737e-05/0.2465, allocations: 0 / 426.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.2468, allocations: 188.6 kB / 426.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.745e-05/0.2468, allocations: 38.44 kB / 426.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.2469, allocations: 8.922 kB / 426.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.2469, allocations: 0 / 426.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.247, allocations: 51.41 kB / 426.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.247, allocations: 0 / 426.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001751/0.2472, allocations: 61.62 kB / 426.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.2472, allocations: 59.34 kB / 426.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.2473, allocations: 105.8 kB / 426.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.2473, allocations: 25.7 kB / 426.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.2474, allocations: 84.14 kB / 426.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.2474, allocations: 11.94 kB / 426.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.2474, allocations: 21.72 kB / 426.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2476, allocations: 314.8 kB / 427.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.2476, allocations: 11.94 kB / 427.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.2476, allocations: 21.72 kB / 427.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.791e-05/0.2477, allocations: 29.64 kB / 427.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2477, allocations: 0 / 427.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.357e-05/0.2478, allocations: 57.62 kB / 427.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2478, allocations: 8 kB / 427.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2478, allocations: 32 / 427.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2478, allocations: 4 kB / 427.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.2479, allocations: 8 kB / 427.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2479, allocations: 0 / 427.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.2479, allocations: 3.953 kB / 427.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2479, allocations: 7.984 kB / 427.4 MB, free: 10.69 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.704e-05/0.248, allocations: 121.7 kB / 427.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.248, allocations: 4 kB / 427.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.248, allocations: 4 kB / 427.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.248, allocations: 0 / 427.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.248, allocations: 0 / 427.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.248, allocations: 4 kB / 427.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.2483, allocations: 234.5 kB / 427.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2483, allocations: 3.984 kB / 427.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.364e-05/0.2483, allocations: 3.984 kB / 427.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2483, allocations: 4 kB / 427.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2483, allocations: 384 / 427.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2483, allocations: 3.938 kB / 427.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2483, allocations: 4 kB / 427.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.2484, allocations: 151.5 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.2484, allocations: 3.953 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.2484, allocations: 8 kB / 427.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.084e-05/0.2485, allocations: 0 / 427.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.2485, allocations: 0 / 427.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.2485, allocations: 4 kB / 427.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.807e-05/0.2486, allocations: 87.27 kB / 428 MB, free: 9.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2486, allocations: 3.938 kB / 428 MB, free: 9.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.2488, allocations: 23.94 kB / 428.1 MB, free: 9.961 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.0004373/0.2493, allocations: 190.7 kB / 428.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.668e-05/0.2494, allocations: 23.92 kB / 428.3 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2494, allocations: 0 / 428.3 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.576e-05/0.2494, allocations: 4 kB / 428.3 MB, free: 9.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.2496, allocations: 8 kB / 428.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.2499, allocations: 131.4 kB / 428.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.098e-05/0.2499, allocations: 75.2 kB / 428.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.2499, allocations: 7.438 kB / 428.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2499, allocations: 0 / 428.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of Templates: time 0.003026/0.253, allocations: 1.178 MB / 429.7 MB, free: 8.328 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 [Calling sys.exit(0), Time elapsed: 7.220832133665681]