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.001652/0.001652, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.00198/0.00198, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.001646/0.001646, allocations: 47.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3224, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002686/0.3251, allocations: 1.348 MB / 432.9 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.326, allocations: 350.8 kB / 433.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.326, allocations: 4 kB / 433.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.3261, allocations: 7.875 kB / 433.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.479e-05/0.3261, allocations: 3.938 kB / 433.3 MB, free: 5.004 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.0005903/0.3267, allocations: 95.7 kB / 433.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.798e-05/0.3268, allocations: 15.98 kB / 433.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.3269, allocations: 0 / 433.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.915e-05/0.3269, allocations: 4 kB / 433.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.337e-05/0.3269, allocations: 11.92 kB / 433.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3269, allocations: 3.984 kB / 433.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.3272, allocations: 119.8 kB / 433.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.3272, allocations: 4 kB / 433.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.3273, allocations: 15.92 kB / 433.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.3275, allocations: 83.61 kB / 433.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3275, allocations: 0 / 433.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3275, allocations: 0 / 433.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.3275, allocations: 0 / 433.6 MB, free: 4.66 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.0004833/0.328, allocations: 275.2 kB / 433.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.328, allocations: 12.03 kB / 433.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.3281, allocations: 0.9375 kB / 433.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3282, allocations: 114.5 kB / 434 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.3282, allocations: 4.375 kB / 434 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.3282, allocations: 4.375 kB / 434 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.3283, allocations: 30.27 kB / 434.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3283, allocations: 192 / 434.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3283, allocations: 11.92 kB / 434.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3283, allocations: 3.938 kB / 434.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.3284, allocations: 3.984 kB / 434.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.3287, allocations: 196.6 kB / 434.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.544e-05/0.3288, allocations: 22.52 kB / 434.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.3288, allocations: 16.91 kB / 434.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.3288, allocations: 4 kB / 434.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.329, allocations: 59.33 kB / 434.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.329, allocations: 0 / 434.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001933/0.3292, allocations: 57.62 kB / 434.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.3292, allocations: 51.41 kB / 434.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3293, allocations: 105.8 kB / 434.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3294, allocations: 29.7 kB / 434.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.3294, allocations: 80.14 kB / 434.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.3294, allocations: 3.953 kB / 434.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.3295, allocations: 25.7 kB / 434.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3296, allocations: 318.8 kB / 435 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.404e-05/0.3297, allocations: 4 kB / 435 MB, free: 3.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.3297, allocations: 26.08 kB / 435.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.094e-05/0.3297, allocations: 25.66 kB / 435.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3297, allocations: 3.938 kB / 435.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001055/0.3299, allocations: 65.58 kB / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3299, allocations: 8 kB / 435.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3299, allocations: 0 / 435.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3299, allocations: 0 / 435.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.33, allocations: 19.95 kB / 435.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.33, allocations: 0 / 435.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.33, allocations: 0 / 435.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.33, allocations: 4 kB / 435.2 MB, free: 2.926 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 0.0001056/0.3301, allocations: 109.8 kB / 435.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.3301, allocations: 7.938 kB / 435.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.3301, allocations: 4 kB / 435.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3301, allocations: 0 / 435.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3301, allocations: 0 / 435.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3302, allocations: 3.984 kB / 435.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.3304, allocations: 238.2 kB / 435.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3304, allocations: 4 kB / 435.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.3304, allocations: 3.984 kB / 435.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3304, allocations: 4 kB / 435.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3304, allocations: 4.219 kB / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3304, allocations: 0 / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3304, allocations: 0 / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.3306, allocations: 155.4 kB / 435.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-06/0.3306, allocations: 4 kB / 435.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.3306, allocations: 0 / 435.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.3306, allocations: 4 kB / 435.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.3307, allocations: 3.984 kB / 435.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.3307, allocations: 8 kB / 435.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.637e-05/0.3307, allocations: 79.28 kB / 435.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3307, allocations: 3.938 kB / 435.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.331, allocations: 27.92 kB / 435.8 MB, free: 2.203 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.000458/0.3315, allocations: 193.4 kB / 436 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.3316, allocations: 19.98 kB / 436 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3316, allocations: 0 / 436 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.962e-05/0.3316, allocations: 11.98 kB / 436.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.3318, allocations: 11.88 kB / 436.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.3321, allocations: 101.7 kB / 436.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.373e-05/0.3321, allocations: 63.34 kB / 436.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.967e-05/0.3322, allocations: 8.062 kB / 436.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.3322, allocations: 7.438 kB / 436.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3322, allocations: 0 / 436.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of Templates: time 0.003876/0.3361, allocations: 0.951 MB / 437.2 MB, free: 0.8242 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.604022236540914]