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.001886/0.001886, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002242/0.002242, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.001534/0.001534, allocations: 43.94 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2127, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002484/0.2152, allocations: 1.356 MB / 433.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000759/0.216, allocations: 354.8 kB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.216, allocations: 0 / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.216, allocations: 3.938 kB / 434 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.657e-05/0.2161, allocations: 0 / 434 MB, free: 5.008 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.0004799/0.2165, allocations: 99.62 kB / 434.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.2166, allocations: 16 kB / 434.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.2166, allocations: 4 kB / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.2167, allocations: 7.922 kB / 434.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.277e-05/0.2167, allocations: 11.94 kB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.2167, allocations: 0 / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.2169, allocations: 131.7 kB / 434.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.217, allocations: 4 kB / 434.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.217, allocations: 7.938 kB / 434.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.2172, allocations: 86.7 kB / 434.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2172, allocations: 0 / 434.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2172, allocations: 0 / 434.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2172, allocations: 0 / 434.4 MB, free: 4.652 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.0004009/0.2176, allocations: 273.9 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2176, allocations: 12.03 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.2176, allocations: 4.938 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.2177, allocations: 114.5 kB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.2178, allocations: 384 / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.2178, allocations: 384 / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.54e-05/0.2179, allocations: 34.25 kB / 434.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2179, allocations: 4.188 kB / 434.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2179, allocations: 3.938 kB / 434.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2179, allocations: 0 / 434.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.2179, allocations: 4 kB / 434.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.2183, allocations: 196.5 kB / 435 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.109e-05/0.2183, allocations: 34.5 kB / 435.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.2183, allocations: 12.86 kB / 435.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.2184, allocations: 0 / 435.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.2185, allocations: 55.34 kB / 435.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2185, allocations: 0 / 435.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000202/0.2187, allocations: 57.62 kB / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.2187, allocations: 59.39 kB / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.2189, allocations: 101.9 kB / 435.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2189, allocations: 25.7 kB / 435.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.2189, allocations: 88.12 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.219, allocations: 11.95 kB / 435.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.219, allocations: 13.72 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2192, allocations: 314.8 kB / 435.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.2192, allocations: 7.984 kB / 435.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.2192, allocations: 21.72 kB / 435.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.2193, allocations: 33.83 kB / 435.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2193, allocations: 0 / 435.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001004/0.2194, allocations: 61.56 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2194, allocations: 12.03 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2194, allocations: 0 / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2194, allocations: 0 / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.2195, allocations: 11.94 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2195, allocations: 0 / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.2195, allocations: 4 kB / 435.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2195, allocations: 4 kB / 435.9 MB, free: 2.922 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 7.67e-05/0.2196, allocations: 105.8 kB / 436.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.2196, allocations: 11.92 kB / 436.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.2196, allocations: 8 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2196, allocations: 4 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2196, allocations: 0 / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.2196, allocations: 7.953 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.2197, allocations: 4.312 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.307e-05/0.2197, allocations: 0 / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.2197, allocations: 0 / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001211/0.2198, allocations: 140.8 kB / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001561/0.22, allocations: 218.8 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.456e-05/0.22, allocations: 8 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.22, allocations: 87.2 kB / 436.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of Backend: time 1.6e-07/0.22, allocations: 0 / 436.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.2207, allocations: 185 kB / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004547/0.2211, allocations: 0.5533 MB / 437.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of Templates: time 0.003651/0.2248, allocations: 1.006 MB / 438.3 MB, free: 0.543 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/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.207465120998677]