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.000729/0.000729, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009788/0.001708, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007044/0.0007044, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009289/0.001633, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.8836/0.8836, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1341/1.018, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.403e-06/1.403e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.339e-05, allocations: 6.109 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001797/0.00182, allocations: 1.423 MB / 223.4 MB, free: 14.62 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000462/0.002282, allocations: 367.5 kB / 223.8 MB, free: 14.25 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.002315, allocations: 0 / 223.8 MB, free: 14.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.002334, allocations: 0 / 223.8 MB, free: 14.25 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.314e-05/0.002367, allocations: 7.875 kB / 223.8 MB, free: 14.25 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.002667, allocations: 87.59 kB / 223.9 MB, free: 14.16 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.736e-05/0.002724, allocations: 11.94 kB / 223.9 MB, free: 14.15 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.002759, allocations: 11.97 kB / 223.9 MB, free: 14.14 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.002806, allocations: 8 kB / 223.9 MB, free: 14.13 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.394e-05/0.00283, allocations: 15.92 kB / 223.9 MB, free: 14.11 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.002841, allocations: 0 / 223.9 MB, free: 14.11 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.003027, allocations: 119.7 kB / 224 MB, free: 14 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.003041, allocations: 4 kB / 224 MB, free: 13.99 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.555e-05/0.003056, allocations: 4 kB / 224 MB, free: 13.99 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.003199, allocations: 79.72 kB / 224.1 MB, free: 13.91 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.003209, allocations: 0 / 224.1 MB, free: 13.91 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00321, allocations: 0 / 224.1 MB, free: 13.91 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.003218, allocations: 0 / 224.1 MB, free: 13.91 MB / 234.7 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.0003001/0.003519, allocations: 264.4 kB / 224.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.003546, allocations: 8.031 kB / 224.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.003571, allocations: 4.938 kB / 224.4 MB, free: 13.61 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.876e-05/0.00364, allocations: 105.8 kB / 224.5 MB, free: 13.48 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.003654, allocations: 8.375 kB / 224.5 MB, free: 13.48 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.003664, allocations: 4.359 kB / 224.5 MB, free: 13.47 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.526e-05/0.003719, allocations: 34.25 kB / 224.5 MB, free: 13.43 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.003726, allocations: 192 / 224.5 MB, free: 13.43 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.003731, allocations: 384 / 224.5 MB, free: 13.43 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.003736, allocations: 384 / 224.5 MB, free: 13.43 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.846e-06/0.003745, allocations: 11.88 kB / 224.5 MB, free: 13.42 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.00391, allocations: 136.3 kB / 224.7 MB, free: 13.27 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.752e-05/0.003948, allocations: 34.59 kB / 224.7 MB, free: 13.23 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.045e-05/0.003958, allocations: 4.859 kB / 224.7 MB, free: 13.22 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.003965, allocations: 8.047 kB / 224.7 MB, free: 13.21 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.927e-05/0.004034, allocations: 51.34 kB / 224.8 MB, free: 13.15 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.004035, allocations: 0 / 224.8 MB, free: 13.15 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 8.786e-05/0.004123, allocations: 41.69 kB / 224.8 MB, free: 13.11 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.004155, allocations: 55.34 kB / 224.9 MB, free: 13.04 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.53e-05/0.00421, allocations: 110.7 kB / 225 MB, free: 12.92 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.00422, allocations: 29.7 kB / 225 MB, free: 12.88 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.266e-05/0.004243, allocations: 88.14 kB / 225.1 MB, free: 12.79 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.00426, allocations: 11.88 kB / 225.1 MB, free: 12.78 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.004283, allocations: 17.7 kB / 225.1 MB, free: 12.76 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.513e-05/0.004348, allocations: 310.8 kB / 225.4 MB, free: 12.45 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.004361, allocations: 20.64 kB / 225.4 MB, free: 12.42 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.004377, allocations: 25.64 kB / 225.5 MB, free: 12.39 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.004405, allocations: 25.7 kB / 225.5 MB, free: 12.36 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.004407, allocations: 0 / 225.5 MB, free: 12.36 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.482e-05/0.004452, allocations: 45.62 kB / 225.5 MB, free: 12.31 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.004462, allocations: 4.031 kB / 225.5 MB, free: 12.3 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.004465, allocations: 4 kB / 225.6 MB, free: 12.3 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.004477, allocations: 7.984 kB / 225.6 MB, free: 12.29 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.087e-05/0.004518, allocations: 7.938 kB / 225.6 MB, free: 12.29 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.004522, allocations: 4 kB / 225.6 MB, free: 12.28 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.004534, allocations: 3.953 kB / 225.6 MB, free: 12.28 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.004539, allocations: 0 / 225.6 MB, free: 12.28 MB / 234.7 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.seed,globalSeed.id_impure,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 5.067e-05/0.00459, allocations: 113.8 kB / 225.7 MB, free: 12.16 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.004595, allocations: 7.922 kB / 225.7 MB, free: 12.15 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.004613, allocations: 8 kB / 225.7 MB, free: 12.14 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.004614, allocations: 0 / 225.7 MB, free: 12.14 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.004616, allocations: 7.938 kB / 225.7 MB, free: 12.13 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004619, allocations: 0 / 225.7 MB, free: 12.13 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.004735, allocations: 183.1 kB / 225.9 MB, free: 11.93 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.004736, allocations: 0 / 225.9 MB, free: 11.93 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-06/0.004745, allocations: 8.031 kB / 225.9 MB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-06/0.00475, allocations: 3.984 kB / 225.9 MB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.004751, allocations: 0 / 225.9 MB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.004755, allocations: 3.938 kB / 225.9 MB, free: 11.91 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.004756, allocations: 0 / 225.9 MB, free: 11.91 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004757, allocations: 4.375 kB / 225.9 MB, free: 11.91 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.319e-05/0.00481, allocations: 135.5 kB / 226 MB, free: 11.76 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-06/0.004817, allocations: 0 / 226 MB, free: 11.76 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.384e-05/0.004841, allocations: 11.94 kB / 226.1 MB, free: 11.75 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.004856, allocations: 3.984 kB / 226.1 MB, free: 11.75 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.004864, allocations: 0 / 226.1 MB, free: 11.75 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.063e-05/0.004875, allocations: 8.859 kB / 226.1 MB, free: 11.73 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004875, allocations: 0 / 226.1 MB, free: 11.73 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.005022, allocations: 35.86 kB / 226.1 MB, free: 11.7 MB / 234.7 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.0003385/0.00536, allocations: 212.7 kB / 226.3 MB, free: 11.52 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 5.56e-05/0.005416, allocations: 24.77 kB / 226.3 MB, free: 11.49 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.005419, allocations: 0 / 226.3 MB, free: 11.49 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.459e-05/0.005434, allocations: 12.86 kB / 226.3 MB, free: 11.47 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.251e-05/0.005526, allocations: 7.938 kB / 226.4 MB, free: 11.46 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.005814, allocations: 123.7 kB / 226.5 MB, free: 11.32 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.853e-05/0.005842, allocations: 55.36 kB / 226.5 MB, free: 11.25 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.176e-05/0.005864, allocations: 7.984 kB / 226.5 MB, free: 11.24 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.005891, allocations: 51.31 kB / 226.6 MB, free: 11.19 MB / 234.7 MB Notification: Performance of SimCode: time 7.22e-07/0.005892, allocations: 0 / 226.6 MB, free: 11.19 MB / 234.7 MB Notification: Performance of Templates: time 0.002352/0.008244, allocations: 1.119 MB / 227.7 MB, free: 10.07 MB / 234.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.484078872948885]