Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002446/0.002446, allocations: 208.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 59.86 kB / 378.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3087, allocations: 53.36 MB / 431.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002925/0.3116, allocations: 1.352 MB / 432.9 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008612/0.3125, allocations: 346.9 kB / 433.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.3125, allocations: 0 / 433.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.3126, allocations: 3.938 kB / 433.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.381e-05/0.3126, allocations: 4 kB / 433.3 MB, free: 4.965 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0005795/0.3132, allocations: 103.6 kB / 433.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.157e-05/0.3133, allocations: 15.94 kB / 433.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.3133, allocations: 0 / 433.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.987e-05/0.3133, allocations: 7.984 kB / 433.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.902e-05/0.3134, allocations: 11.92 kB / 433.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.3134, allocations: 4 kB / 433.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.3137, allocations: 123.8 kB / 433.5 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.3137, allocations: 4 kB / 433.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.3137, allocations: 3.938 kB / 433.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.3139, allocations: 91.61 kB / 433.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3139, allocations: 3.938 kB / 433.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3139, allocations: 0 / 433.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3139, allocations: 4 kB / 433.6 MB, free: 4.602 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.0004568/0.3144, allocations: 276.5 kB / 433.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3144, allocations: 8.031 kB / 433.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.3145, allocations: 4.938 kB / 433.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3146, allocations: 102.5 kB / 434 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3146, allocations: 4.375 kB / 434 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.3146, allocations: 384 / 434 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.439e-05/0.3147, allocations: 42.19 kB / 434.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3147, allocations: 4.188 kB / 434.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3147, allocations: 3.938 kB / 434.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3147, allocations: 0 / 434.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.3148, allocations: 4 kB / 434.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.3151, allocations: 188.6 kB / 434.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.551e-05/0.3151, allocations: 30.56 kB / 434.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.3152, allocations: 12.86 kB / 434.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.3152, allocations: 0 / 434.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.3153, allocations: 59.34 kB / 434.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3153, allocations: 4 kB / 434.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001921/0.3155, allocations: 53.69 kB / 434.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.3156, allocations: 59.33 kB / 434.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.788e-05/0.3157, allocations: 101.9 kB / 434.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.3157, allocations: 25.7 kB / 434.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.3158, allocations: 92.12 kB / 434.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.3158, allocations: 3.953 kB / 434.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.3158, allocations: 17.72 kB / 434.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3159, allocations: 314.8 kB / 435 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.702e-05/0.316, allocations: 11.98 kB / 435 MB, free: 3.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.988e-05/0.316, allocations: 17.72 kB / 435.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.375e-05/0.3161, allocations: 29.91 kB / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3161, allocations: 0 / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001043/0.3162, allocations: 73.48 kB / 435.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3162, allocations: 7.938 kB / 435.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3162, allocations: 4 kB / 435.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3162, allocations: 0 / 435.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.3163, allocations: 4 kB / 435.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3163, allocations: 4 kB / 435.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.3163, allocations: 0 / 435.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.3163, allocations: 4.031 kB / 435.2 MB, free: 2.883 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.409e-05/0.3164, allocations: 121.7 kB / 435.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.3164, allocations: 7.922 kB / 435.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.3164, allocations: 8 kB / 435.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3164, allocations: 0 / 435.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3164, allocations: 0 / 435.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3164, allocations: 0 / 435.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.3167, allocations: 238.2 kB / 435.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3167, allocations: 0 / 435.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.3167, allocations: 0 / 435.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3167, allocations: 4 kB / 435.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.3167, allocations: 0 / 435.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3167, allocations: 7.938 kB / 435.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3167, allocations: 0 / 435.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.3168, allocations: 151.8 kB / 435.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.3168, allocations: 3.984 kB / 435.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.3168, allocations: 0 / 435.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.838e-05/0.3169, allocations: 8 kB / 435.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.3169, allocations: 0 / 435.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.3169, allocations: 0 / 435.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.837e-05/0.317, allocations: 87.27 kB / 435.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.317, allocations: 8 kB / 435.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.3172, allocations: 23.94 kB / 435.8 MB, free: 2.16 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.0004604/0.3177, allocations: 190.3 kB / 436 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.3178, allocations: 27.92 kB / 436 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.3178, allocations: 4 kB / 436 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.786e-05/0.3178, allocations: 4 kB / 436.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.318, allocations: 7.938 kB / 436.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.3184, allocations: 105.7 kB / 436.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.3184, allocations: 67.28 kB / 436.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.56e-05/0.3185, allocations: 7.984 kB / 436.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.3185, allocations: 7.438 kB / 436.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3185, allocations: 64 / 436.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of Templates: time 0.00426/0.3227, allocations: 0.9716 MB / 437.2 MB, free: 0.7617 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.679052864201367]