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.001842/0.001842, allocations: 79.86 kB / 20.68 MB, free: 1.023 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.002357/0.002357, allocations: 145.7 kB / 23.94 MB, free: 4.164 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.474/1.474, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.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 3.537e-06/3.537e-06, allocations: 0 / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.015e-05/4.368e-05, allocations: 2.984 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.004594/0.004638, allocations: 1.329 MB / 320.3 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.005988, allocations: 352 kB / 320.6 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.006033, allocations: 0 / 320.6 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.006063, allocations: 0 / 320.6 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.074e-05/0.006144, allocations: 9.891 kB / 320.6 MB, free: 2.406 MB / 286.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.0006975/0.006841, allocations: 91.67 kB / 320.7 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.747e-05/0.006929, allocations: 21.14 kB / 320.7 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.006981, allocations: 1.922 kB / 320.7 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.759e-05/0.007039, allocations: 11.69 kB / 320.7 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.007076, allocations: 6.859 kB / 320.7 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.007092, allocations: 1.469 kB / 320.7 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.007441, allocations: 124.4 kB / 320.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.007461, allocations: 1.984 kB / 320.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.007497, allocations: 11.27 kB / 320.9 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.007795, allocations: 106.9 kB / 321 MB, free: 2.254 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.007802, allocations: 1.938 kB / 321 MB, free: 2.254 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.007803, allocations: 0 / 321 MB, free: 2.254 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.00781, allocations: 0 / 321 MB, free: 2.254 MB / 286.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.0004887/0.008298, allocations: 270.1 kB / 321.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.008356, allocations: 9.609 kB / 321.3 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.00841, allocations: 7.344 kB / 321.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.72e-05/0.008507, allocations: 105.1 kB / 321.4 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.008526, allocations: 5.562 kB / 321.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.008541, allocations: 5.5 kB / 321.4 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.008653, allocations: 33.31 kB / 321.4 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.008664, allocations: 7.875 kB / 321.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.008676, allocations: 6.609 kB / 321.4 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.008682, allocations: 0 / 321.4 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.964e-05/0.008711, allocations: 6.562 kB / 321.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.009042, allocations: 186.2 kB / 321.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.614e-05/0.009118, allocations: 26.16 kB / 321.6 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.009153, allocations: 17.64 kB / 321.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.009168, allocations: 3.938 kB / 321.7 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.009338, allocations: 53.62 kB / 321.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.542e-06/0.009339, allocations: 0.9062 kB / 321.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002374/0.009577, allocations: 58.8 kB / 321.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.009619, allocations: 52.53 kB / 321.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.774e-05/0.009707, allocations: 105.4 kB / 321.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.009717, allocations: 26.61 kB / 321.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.009752, allocations: 85.17 kB / 322 MB, free: 1.176 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.009771, allocations: 6.859 kB / 322 MB, free: 1.172 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.009814, allocations: 24.2 kB / 322.1 MB, free: 1.148 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.00988, allocations: 314.4 kB / 322.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.743e-05/0.009918, allocations: 13.28 kB / 322.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.009954, allocations: 19.23 kB / 322.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.416e-05/0.01002, allocations: 26.62 kB / 322.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01002, allocations: 0 / 322.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001237/0.01014, allocations: 62.55 kB / 322.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.01017, allocations: 4.625 kB / 322.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.01017, allocations: 1.938 kB / 322.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.0102, allocations: 5.484 kB / 322.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.01029, allocations: 6.984 kB / 322.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.01029, allocations: 1.156 kB / 322.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.01032, allocations: 8.891 kB / 322.5 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.01033, allocations: 2.078 kB / 322.5 MB, free: 0.7305 MB / 286.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.925e-05/0.01042, allocations: 121.7 kB / 322.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.01044, allocations: 5.062 kB / 322.6 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.01047, allocations: 6.797 kB / 322.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01047, allocations: 1.062 kB / 322.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.01048, allocations: 0 / 322.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.01048, allocations: 9 kB / 322.7 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.01068, allocations: 235.6 kB / 322.9 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01069, allocations: 1.031 kB / 322.9 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/0.0107, allocations: 2.375 kB / 322.9 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01071, allocations: 1.5 kB / 322.9 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.01071, allocations: 0 / 322.9 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.01072, allocations: 5.219 kB / 322.9 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01072, allocations: 0 / 322.9 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.01085, allocations: 157.9 kB / 323 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.01086, allocations: 2.031 kB / 323.1 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.01088, allocations: 0.7031 kB / 323.1 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.253e-05/0.01094, allocations: 5.25 kB / 323.1 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.01098, allocations: 2.828 kB / 323.1 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.011, allocations: 1.344 kB / 323.1 MB, free: 188 kB / 286.1 MB Notification: Performance of sorting global known variables: time 4.151e-05/0.01104, allocations: 85.5 kB / 323.1 MB, free: 108 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.01104, allocations: 0 / 323.1 MB, free: 108 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004444/0.01148, allocations: 25.62 kB / 323.2 MB, free: 104 kB / 286.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.0006447/0.01213, allocations: 186.6 kB / 323.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.01227, allocations: 22.48 kB / 323.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01227, allocations: 1.125 kB / 323.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.01231, allocations: 9.328 kB / 323.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.01263, allocations: 17.42 kB / 323.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.01305, allocations: 110.1 kB / 323.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.335e-05/0.01314, allocations: 65.28 kB / 323.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.385e-05/0.01319, allocations: 6.688 kB / 323.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.01321, allocations: 9.531 kB / 323.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01321, allocations: 0 / 323.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Templates: time 0.005812/0.01902, allocations: 0.9693 MB / 324.6 MB, free: 15.62 MB / 302.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/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.458636939525604]