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.001054/0.001054, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001027/0.001027, allocations: 166.9 kB / 25.33 MB, free: 8.586 MB / 18.57 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.003/1.003, allocations: 158.6 MB / 187.2 MB, free: 2.934 MB / 170.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.933e-06/1.933e-06, allocations: 3.938 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.658e-05, allocations: 2.312 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002014/0.002051, allocations: 1.376 MB / 252.4 MB, free: 6.129 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006124/0.002663, allocations: 359.6 kB / 252.8 MB, free: 5.773 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.00269, allocations: 0 / 252.8 MB, free: 5.773 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.002716, allocations: 3.938 kB / 252.8 MB, free: 5.77 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.139e-05/0.002767, allocations: 4 kB / 252.8 MB, free: 5.766 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.003226, allocations: 95.58 kB / 252.9 MB, free: 5.672 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.325e-05/0.003279, allocations: 15.92 kB / 252.9 MB, free: 5.656 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.107e-05/0.003311, allocations: 12 kB / 252.9 MB, free: 5.645 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.003345, allocations: 11.98 kB / 252.9 MB, free: 5.633 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.776e-05/0.003363, allocations: 3.938 kB / 252.9 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.003377, allocations: 7.984 kB / 252.9 MB, free: 5.621 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.003558, allocations: 115.7 kB / 253 MB, free: 5.508 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.00357, allocations: 4 kB / 253 MB, free: 5.504 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.003591, allocations: 7.984 kB / 253 MB, free: 5.496 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.003755, allocations: 95.64 kB / 253.1 MB, free: 5.402 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003757, allocations: 0 / 253.1 MB, free: 5.402 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003758, allocations: 0 / 253.1 MB, free: 5.402 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.003763, allocations: 0 / 253.1 MB, free: 5.402 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.0003287/0.004091, allocations: 376.5 kB / 253.5 MB, free: 4.996 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.004126, allocations: 15.98 kB / 253.5 MB, free: 4.98 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.004158, allocations: 0.9375 kB / 253.5 MB, free: 4.98 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.916e-05/0.004237, allocations: 116.6 kB / 253.6 MB, free: 4.84 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.004248, allocations: 384 / 253.6 MB, free: 4.84 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.004259, allocations: 4.375 kB / 253.6 MB, free: 4.836 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.91e-05/0.004328, allocations: 34.25 kB / 253.7 MB, free: 4.797 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.004336, allocations: 4.172 kB / 253.7 MB, free: 4.793 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.004345, allocations: 384 / 253.7 MB, free: 4.793 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.004351, allocations: 384 / 253.7 MB, free: 4.793 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.43e-05/0.004366, allocations: 11.88 kB / 253.7 MB, free: 4.781 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.00468, allocations: 255.8 kB / 253.9 MB, free: 4.496 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.004745, allocations: 31.06 kB / 254 MB, free: 4.453 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.004766, allocations: 11.75 kB / 254 MB, free: 4.438 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.004772, allocations: 0 / 254 MB, free: 4.438 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.682e-05/0.004869, allocations: 61 kB / 254 MB, free: 4.363 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.00487, allocations: 0 / 254 MB, free: 4.363 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001671/0.005037, allocations: 53.61 kB / 254.1 MB, free: 4.305 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.00508, allocations: 55.41 kB / 254.1 MB, free: 4.238 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.005186, allocations: 169.9 kB / 254.3 MB, free: 4.055 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.005198, allocations: 25.7 kB / 254.3 MB, free: 4.023 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.005253, allocations: 126.9 kB / 254.5 MB, free: 3.895 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.005269, allocations: 7.953 kB / 254.5 MB, free: 3.887 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.005309, allocations: 23.38 kB / 254.5 MB, free: 3.852 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.005465, allocations: 0.4884 MB / 255 MB, free: 3.352 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.005493, allocations: 20.89 kB / 255 MB, free: 3.328 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.019e-05/0.005524, allocations: 27.36 kB / 255 MB, free: 3.293 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.00557, allocations: 31.38 kB / 255.1 MB, free: 3.254 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.005573, allocations: 0 / 255.1 MB, free: 3.254 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.338e-05/0.005656, allocations: 65.58 kB / 255.1 MB, free: 3.184 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.00567, allocations: 4 kB / 255.1 MB, free: 3.18 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.005677, allocations: 3.938 kB / 255.1 MB, free: 3.176 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.005696, allocations: 4 kB / 255.1 MB, free: 3.172 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.005761, allocations: 4 kB / 255.1 MB, free: 3.168 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.005767, allocations: 3.984 kB / 255.1 MB, free: 3.164 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.005782, allocations: 7.938 kB / 255.2 MB, free: 3.156 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.005788, allocations: 0 / 255.2 MB, free: 3.156 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.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.828e-05/0.005866, allocations: 156.6 kB / 255.3 MB, free: 2.992 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.005875, allocations: 8.031 kB / 255.3 MB, free: 2.984 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.005906, allocations: 15.88 kB / 255.3 MB, free: 2.965 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.005909, allocations: 0 / 255.3 MB, free: 2.965 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.005912, allocations: 0 / 255.3 MB, free: 2.965 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005914, allocations: 0 / 255.3 MB, free: 2.965 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.006092, allocations: 281.5 kB / 255.6 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006093, allocations: 0 / 255.6 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.006105, allocations: 4.281 kB / 255.6 MB, free: 2.645 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.00611, allocations: 3.938 kB / 255.6 MB, free: 2.641 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.006115, allocations: 0 / 255.6 MB, free: 2.641 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.006118, allocations: 3.984 kB / 255.6 MB, free: 2.637 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.006119, allocations: 4 kB / 255.6 MB, free: 2.633 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.006489, allocations: 203.8 kB / 255.8 MB, free: 2.414 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.006496, allocations: 7.938 kB / 255.8 MB, free: 2.406 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.006505, allocations: 0 / 255.8 MB, free: 2.406 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.256e-05/0.006528, allocations: 0 / 255.8 MB, free: 2.406 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.006549, allocations: 3.984 kB / 255.8 MB, free: 2.402 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.006561, allocations: 4 kB / 255.8 MB, free: 2.398 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.663e-05/0.006597, allocations: 131.3 kB / 256 MB, free: 2.27 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006597, allocations: 0 / 256 MB, free: 2.27 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000197/0.006794, allocations: 23.92 kB / 256 MB, free: 2.246 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.0003662/0.00716, allocations: 199.6 kB / 256.2 MB, free: 2.07 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.27e-05/0.007253, allocations: 23.62 kB / 256.2 MB, free: 2.043 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007255, allocations: 0 / 256.2 MB, free: 2.043 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.085e-05/0.007276, allocations: 19.73 kB / 256.2 MB, free: 2.02 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.007419, allocations: 11.88 kB / 256.2 MB, free: 2.008 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.007661, allocations: 117.4 kB / 256.3 MB, free: 1.867 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.49e-05/0.007695, allocations: 55.36 kB / 256.4 MB, free: 1.793 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.682e-05/0.007722, allocations: 11.97 kB / 256.4 MB, free: 1.781 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.007739, allocations: 8.5 kB / 256.4 MB, free: 1.773 MB / 234.7 MB Notification: Performance of SimCode: time 8.22e-07/0.00774, allocations: 4 kB / 256.4 MB, free: 1.77 MB / 234.7 MB Notification: Performance of Templates: time 0.002854/0.01059, allocations: 0.9905 MB / 257.4 MB, free: 0.7773 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0879342891275883]