Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001381/0.001381, allocations: 84.06 kB / 21.43 MB, free: 288 kB / 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.001538/0.001538, allocations: 168.2 kB / 24.71 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 298.9 MB, free: 8.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.331e-05/3.49e-05, allocations: 2.281 kB / 298.9 MB, free: 8.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002529/0.002563, allocations: 1.343 MB / 300.3 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007885/0.003352, allocations: 347.6 kB / 300.6 MB, free: 7.125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.00338, allocations: 0 / 300.6 MB, free: 7.125 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.003406, allocations: 0 / 300.6 MB, free: 7.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.003459, allocations: 7.922 kB / 300.6 MB, free: 7.117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.003943, allocations: 91.58 kB / 300.7 MB, free: 7.027 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.445e-05/0.004018, allocations: 23.88 kB / 300.7 MB, free: 7.004 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.00406, allocations: 7.984 kB / 300.8 MB, free: 6.996 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.16e-05/0.004101, allocations: 11.98 kB / 300.8 MB, free: 6.984 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.962e-05/0.004121, allocations: 0 / 300.8 MB, free: 6.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.004135, allocations: 4 kB / 300.8 MB, free: 6.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.004394, allocations: 115.8 kB / 300.9 MB, free: 6.867 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.004414, allocations: 7.922 kB / 300.9 MB, free: 6.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.004435, allocations: 4 kB / 300.9 MB, free: 6.855 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.004645, allocations: 95.8 kB / 301 MB, free: 6.762 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004647, allocations: 0 / 301 MB, free: 6.762 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004648, allocations: 3.938 kB / 301 MB, free: 6.758 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.004652, allocations: 4 kB / 301 MB, free: 6.754 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.0004195/0.005072, allocations: 274.1 kB / 301.3 MB, free: 6.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.458e-05/0.005167, allocations: 15.98 kB / 301.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.0052, allocations: 0.9375 kB / 301.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.005309, allocations: 105.8 kB / 301.4 MB, free: 6.309 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.00532, allocations: 384 / 301.4 MB, free: 6.309 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.005336, allocations: 8.312 kB / 301.4 MB, free: 6.301 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.698e-05/0.005423, allocations: 38.25 kB / 301.4 MB, free: 6.258 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.005432, allocations: 192 / 301.4 MB, free: 6.258 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.005439, allocations: 384 / 301.4 MB, free: 6.258 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.005443, allocations: 4.375 kB / 301.4 MB, free: 6.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.005463, allocations: 3.938 kB / 301.4 MB, free: 6.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.005792, allocations: 205.2 kB / 301.6 MB, free: 6.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.713e-05/0.005849, allocations: 22.58 kB / 301.7 MB, free: 5.988 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.005874, allocations: 8.922 kB / 301.7 MB, free: 5.977 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.005882, allocations: 3.984 kB / 301.7 MB, free: 5.973 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.006023, allocations: 55.39 kB / 301.7 MB, free: 5.906 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.006025, allocations: 3.938 kB / 301.7 MB, free: 5.902 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001927/0.006217, allocations: 65.56 kB / 301.8 MB, free: 5.832 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.006266, allocations: 55.41 kB / 301.8 MB, free: 5.766 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.006368, allocations: 105.8 kB / 302 MB, free: 5.652 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.006385, allocations: 25.7 kB / 302 MB, free: 5.621 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.00644, allocations: 84.14 kB / 302.1 MB, free: 5.535 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.006455, allocations: 7.953 kB / 302.1 MB, free: 5.527 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.006493, allocations: 17.72 kB / 302.1 MB, free: 5.504 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.006665, allocations: 314.8 kB / 302.4 MB, free: 5.188 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/0.00669, allocations: 8 kB / 302.4 MB, free: 5.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.249e-05/0.006722, allocations: 17.97 kB / 302.4 MB, free: 5.156 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.443e-05/0.006776, allocations: 33.77 kB / 302.5 MB, free: 5.117 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.00678, allocations: 8 kB / 302.5 MB, free: 5.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.816e-05/0.006878, allocations: 61.64 kB / 302.5 MB, free: 5.043 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.006893, allocations: 7.938 kB / 302.5 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.0069, allocations: 3.938 kB / 302.5 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.00692, allocations: 0 / 302.5 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.006992, allocations: 8 kB / 302.5 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.006997, allocations: 0 / 302.5 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.007013, allocations: 0 / 302.5 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.007025, allocations: 7.984 kB / 302.5 MB, free: 5.016 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 9.3e-05/0.007118, allocations: 113.9 kB / 302.7 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.007126, allocations: 4 kB / 302.7 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.007155, allocations: 7.938 kB / 302.7 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.007156, allocations: 0 / 302.7 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.007159, allocations: 0 / 302.7 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.007162, allocations: 0 / 302.7 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.007403, allocations: 242.1 kB / 302.9 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007405, allocations: 0 / 302.9 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/0.007418, allocations: 4 kB / 302.9 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.007422, allocations: 7.875 kB / 302.9 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.007428, allocations: 0 / 302.9 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007429, allocations: 4 kB / 302.9 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007429, allocations: 0 / 302.9 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.00758, allocations: 151.5 kB / 303.1 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.007591, allocations: 7.938 kB / 303.1 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.007602, allocations: 336 / 303.1 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.007643, allocations: 0 / 303.1 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.007671, allocations: 3.938 kB / 303.1 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.007683, allocations: 4 kB / 303.1 MB, free: 4.414 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.456e-05/0.007737, allocations: 87.27 kB / 303.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.007737, allocations: 0 / 303.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.008012, allocations: 23.94 kB / 303.2 MB, free: 4.305 MB / 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.0004684/0.00848, allocations: 196.4 kB / 303.4 MB, free: 4.109 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.00858, allocations: 19.98 kB / 303.4 MB, free: 4.09 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008582, allocations: 64 / 303.4 MB, free: 4.09 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.72e-05/0.008619, allocations: 15.92 kB / 303.4 MB, free: 4.074 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.008823, allocations: 7.984 kB / 303.4 MB, free: 4.066 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.009115, allocations: 116.9 kB / 303.5 MB, free: 3.926 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.158e-05/0.009187, allocations: 59.22 kB / 303.6 MB, free: 3.848 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.843e-05/0.009215, allocations: 11.98 kB / 303.6 MB, free: 3.836 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.009237, allocations: 8.5 kB / 303.6 MB, free: 3.828 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.009238, allocations: 0 / 303.6 MB, free: 3.828 MB / 286.1 MB Notification: Performance of Templates: time 0.003915/0.01315, allocations: 0.9741 MB / 304.6 MB, free: 2.852 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.166612174361944]