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.0009966/0.0009966, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.0009585/0.0009585, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.9441/0.9441, allocations: 173.4 MB / 201.1 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 179] 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 1.723e-06/1.723e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.145e-05, allocations: 2.312 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002314/0.002335, allocations: 1.372 MB / 269.4 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007245/0.00306, allocations: 366.7 kB / 269.7 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.003093, allocations: 0 / 269.7 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.003127, allocations: 3.938 kB / 269.7 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.994e-05/0.003186, allocations: 0 / 269.7 MB, free: 4.672 MB / 250.7 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.0005347/0.003721, allocations: 99.56 kB / 269.8 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.003789, allocations: 15.94 kB / 269.8 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.003826, allocations: 3.984 kB / 269.8 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.003865, allocations: 11.94 kB / 269.9 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.614e-05/0.003891, allocations: 11.97 kB / 269.9 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.003906, allocations: 0 / 269.9 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.004138, allocations: 115.7 kB / 270 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.004155, allocations: 7.984 kB / 270 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.004186, allocations: 11.92 kB / 270 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.004398, allocations: 83.77 kB / 270.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.0044, allocations: 8 kB / 270.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004401, allocations: 0 / 270.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.004405, allocations: 0 / 270.1 MB, free: 4.309 MB / 250.7 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.00041/0.004815, allocations: 376.4 kB / 270.5 MB, free: 3.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.00486, allocations: 8.922 kB / 270.5 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.004902, allocations: 4.938 kB / 270.5 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.939e-05/0.005002, allocations: 116.6 kB / 270.6 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.005018, allocations: 384 / 270.6 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.005032, allocations: 384 / 270.6 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.601e-05/0.005118, allocations: 34.25 kB / 270.6 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.00513, allocations: 3.938 kB / 270.6 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.00514, allocations: 4 kB / 270.6 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.00515, allocations: 4 kB / 270.6 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.474e-05/0.005165, allocations: 0 / 270.6 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.005465, allocations: 247.8 kB / 270.9 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.112e-05/0.005526, allocations: 39.05 kB / 270.9 MB, free: 3.375 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.005549, allocations: 7.688 kB / 270.9 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.005559, allocations: 8 kB / 270.9 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.32e-05/0.005642, allocations: 61.02 kB / 271 MB, free: 3.281 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/0.005644, allocations: 3.984 kB / 271 MB, free: 3.277 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001645/0.005809, allocations: 57.62 kB / 271 MB, free: 3.215 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.005842, allocations: 55.39 kB / 271.1 MB, free: 3.148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.984e-05/0.005932, allocations: 161.9 kB / 271.3 MB, free: 2.973 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.005944, allocations: 25.7 kB / 271.3 MB, free: 2.941 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.005989, allocations: 130.9 kB / 271.4 MB, free: 2.809 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.006005, allocations: 7.953 kB / 271.4 MB, free: 2.801 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.006045, allocations: 23.38 kB / 271.4 MB, free: 2.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.006257, allocations: 0.4884 MB / 271.9 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.006285, allocations: 16.7 kB / 271.9 MB, free: 2.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.768e-05/0.006313, allocations: 19.38 kB / 272 MB, free: 2.223 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.006357, allocations: 43.23 kB / 272 MB, free: 2.172 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.00636, allocations: 0 / 272 MB, free: 2.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.148e-05/0.006452, allocations: 69.89 kB / 272.1 MB, free: 2.098 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.006464, allocations: 4 kB / 272.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.006469, allocations: 0 / 272.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.006486, allocations: 0 / 272.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/0.006546, allocations: 12 kB / 272.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.006551, allocations: 0 / 272.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.006568, allocations: 0 / 272.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.006576, allocations: 4 kB / 272.1 MB, free: 2.078 MB / 250.7 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 7.73e-05/0.006653, allocations: 160.6 kB / 272.3 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.006666, allocations: 11.94 kB / 272.3 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.006696, allocations: 4 kB / 272.3 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006698, allocations: 0 / 272.3 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006702, allocations: 0 / 272.3 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.006705, allocations: 4 kB / 272.3 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.006906, allocations: 289.4 kB / 272.6 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.006908, allocations: 0 / 272.6 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.006919, allocations: 0 / 272.6 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.006923, allocations: 4 kB / 272.6 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.006929, allocations: 4 kB / 272.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.00693, allocations: 0 / 272.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.006932, allocations: 0 / 272.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.007042, allocations: 207.8 kB / 272.8 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.007047, allocations: 0 / 272.8 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.007059, allocations: 4 kB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.322e-05/0.007102, allocations: 0 / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.007125, allocations: 0 / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.007138, allocations: 0 / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.136e-05/0.007189, allocations: 135.2 kB / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00719, allocations: 0 / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002974/0.007487, allocations: 27.88 kB / 272.9 MB, free: 1.164 MB / 250.7 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.0004082/0.007895, allocations: 199.8 kB / 273.1 MB, free: 1 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.636e-05/0.007992, allocations: 27.67 kB / 273.2 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007993, allocations: 3.938 kB / 273.2 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.389e-05/0.008017, allocations: 15.69 kB / 273.2 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.008243, allocations: 11.92 kB / 273.2 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.008498, allocations: 114.3 kB / 273.3 MB, free: 0.793 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.008539, allocations: 59.3 kB / 273.4 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.886e-05/0.008567, allocations: 11.97 kB / 273.4 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.008586, allocations: 8.5 kB / 273.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008586, allocations: 0 / 273.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of Templates: time 0.00328/0.01187, allocations: 0.9823 MB / 274.4 MB, free: 15.71 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6637253500521183]