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.001629/0.001629, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.001581/0.001581, allocations: 153.1 kB / 24.26 MB, free: 156 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 1.511/1.511, allocations: 173.3 MB / 200.8 MB, free: 9.289 MB / 186.7 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 1.834e-06/1.834e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.99e-05, allocations: 5.969 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002822/0.002852, allocations: 1.343 MB / 268.7 MB, free: 5.348 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008767/0.003729, allocations: 350.8 kB / 269 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/0.003765, allocations: 0 / 269 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.497e-05/0.00381, allocations: 0 / 269 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.003874, allocations: 7.938 kB / 269 MB, free: 4.996 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.0006171/0.004491, allocations: 99.5 kB / 269.1 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.00456, allocations: 19.92 kB / 269.1 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.0046, allocations: 4 kB / 269.1 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.004648, allocations: 11.98 kB / 269.1 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.168e-05/0.00467, allocations: 0 / 269.1 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.004698, allocations: 4 kB / 269.1 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.004996, allocations: 115.7 kB / 269.3 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.005014, allocations: 3.938 kB / 269.3 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.005047, allocations: 8 kB / 269.3 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.0053, allocations: 99.67 kB / 269.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.005304, allocations: 0 / 269.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005305, allocations: 4 kB / 269.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.00531, allocations: 0 / 269.4 MB, free: 4.633 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.000499/0.005809, allocations: 274.2 kB / 269.6 MB, free: 4.336 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.005855, allocations: 8.922 kB / 269.7 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.005912, allocations: 4.891 kB / 269.7 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.006045, allocations: 117.7 kB / 269.8 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.006063, allocations: 384 / 269.8 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.006076, allocations: 4.375 kB / 269.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.006186, allocations: 34.25 kB / 269.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006197, allocations: 3.938 kB / 269.8 MB, free: 4.137 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.006206, allocations: 4 kB / 269.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.00621, allocations: 0 / 269.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.012e-05/0.00624, allocations: 8 kB / 269.8 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.006633, allocations: 188.6 kB / 270 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.393e-05/0.006707, allocations: 22.52 kB / 270 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.00674, allocations: 12.92 kB / 270 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.006754, allocations: 3.938 kB / 270 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.006931, allocations: 59.39 kB / 270.1 MB, free: 3.789 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.006932, allocations: 0 / 270.1 MB, free: 3.789 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002126/0.007145, allocations: 61.77 kB / 270.2 MB, free: 3.723 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.007196, allocations: 55.34 kB / 270.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.007309, allocations: 109.8 kB / 270.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.007329, allocations: 25.7 kB / 270.4 MB, free: 3.508 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.007385, allocations: 84.14 kB / 270.4 MB, free: 3.422 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.0074, allocations: 3.953 kB / 270.4 MB, free: 3.418 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.007443, allocations: 17.72 kB / 270.5 MB, free: 3.395 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.007621, allocations: 322.8 kB / 270.8 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.007646, allocations: 4 kB / 270.8 MB, free: 3.066 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/0.007682, allocations: 17.72 kB / 270.8 MB, free: 3.043 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.391e-05/0.007746, allocations: 45.62 kB / 270.8 MB, free: 2.992 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007747, allocations: 0 / 270.8 MB, free: 2.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001104/0.007858, allocations: 53.62 kB / 270.9 MB, free: 2.934 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.007875, allocations: 8 kB / 270.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.00788, allocations: 0 / 270.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.0079, allocations: 0 / 270.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.007969, allocations: 8.312 kB / 270.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.007974, allocations: 4 kB / 270.9 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.381e-05/0.007998, allocations: 7.953 kB / 270.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.008008, allocations: 7.984 kB / 270.9 MB, free: 2.898 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 9.116e-05/0.008099, allocations: 113.9 kB / 271 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.008115, allocations: 7.938 kB / 271 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.008146, allocations: 8 kB / 271 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.008148, allocations: 0 / 271 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.008152, allocations: 0 / 271 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.008154, allocations: 0 / 271 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.008405, allocations: 242.1 kB / 271.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.008407, allocations: 0 / 271.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.008428, allocations: 4 kB / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.00843, allocations: 0 / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.008436, allocations: 0 / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.008438, allocations: 7.938 kB / 271.3 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008439, allocations: 0 / 271.3 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.008593, allocations: 155.5 kB / 271.4 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.008603, allocations: 4 kB / 271.5 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.008614, allocations: 0 / 271.5 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-05/0.008656, allocations: 0 / 271.5 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.008683, allocations: 0 / 271.5 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.008697, allocations: 7.938 kB / 271.5 MB, free: 2.289 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.656e-05/0.008754, allocations: 87.27 kB / 271.5 MB, free: 2.203 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008754, allocations: 0 / 271.5 MB, free: 2.203 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.00904, allocations: 23.94 kB / 271.6 MB, free: 2.18 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.0005364/0.009576, allocations: 197.2 kB / 271.8 MB, free: 2.012 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.843e-05/0.009675, allocations: 19.98 kB / 271.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.009677, allocations: 4.062 kB / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.754e-05/0.009704, allocations: 7.938 kB / 271.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.00992, allocations: 11.92 kB / 271.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.01024, allocations: 116.6 kB / 271.9 MB, free: 1.828 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.051e-05/0.01032, allocations: 59.36 kB / 272 MB, free: 1.75 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.643e-05/0.01036, allocations: 11.84 kB / 272 MB, free: 1.738 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.01038, allocations: 8.5 kB / 272 MB, free: 1.73 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01038, allocations: 0 / 272 MB, free: 1.73 MB / 250.7 MB Notification: Performance of Templates: time 0.004107/0.01449, allocations: 0.9856 MB / 273 MB, free: 0.7461 MB / 250.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/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: 4.303295589052141]