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.001056/0.001056, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001113/0.001113, allocations: 164.8 kB / 25.33 MB, free: 8.582 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 0.9127/0.9127, allocations: 158.6 MB / 187.2 MB, free: 2.922 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 2.675e-06/2.675e-06, allocations: 0 / 251 MB, free: 7.391 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.144e-05, allocations: 2.312 kB / 251 MB, free: 7.387 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002249/0.002281, allocations: 1.38 MB / 252.4 MB, free: 5.996 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006476/0.002928, allocations: 355.7 kB / 252.8 MB, free: 5.645 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.002967, allocations: 0 / 252.8 MB, free: 5.645 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.003003, allocations: 3.938 kB / 252.8 MB, free: 5.641 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.16e-05/0.003075, allocations: 3.938 kB / 252.8 MB, free: 5.637 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.003633, allocations: 95.58 kB / 252.9 MB, free: 5.543 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.964e-05/0.003713, allocations: 19.92 kB / 252.9 MB, free: 5.523 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.003759, allocations: 8 kB / 252.9 MB, free: 5.516 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.003803, allocations: 11.98 kB / 252.9 MB, free: 5.504 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.526e-05/0.003828, allocations: 7.984 kB / 252.9 MB, free: 5.496 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.003845, allocations: 0 / 252.9 MB, free: 5.496 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.004055, allocations: 119.7 kB / 253 MB, free: 5.379 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.004072, allocations: 7.922 kB / 253 MB, free: 5.371 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.004099, allocations: 8 kB / 253 MB, free: 5.363 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.004286, allocations: 95.64 kB / 253.1 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004288, allocations: 0 / 253.1 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004289, allocations: 0 / 253.1 MB, free: 5.27 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.004293, allocations: 0 / 253.1 MB, free: 5.27 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.0003797/0.004673, allocations: 376.5 kB / 253.5 MB, free: 4.863 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.004717, allocations: 15.98 kB / 253.5 MB, free: 4.848 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.004764, allocations: 0.9375 kB / 253.5 MB, free: 4.848 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.004866, allocations: 112.6 kB / 253.6 MB, free: 4.711 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.004882, allocations: 384 / 253.6 MB, free: 4.711 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.004894, allocations: 8.375 kB / 253.6 MB, free: 4.703 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.237e-05/0.004976, allocations: 30.25 kB / 253.7 MB, free: 4.668 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.004983, allocations: 192 / 253.7 MB, free: 4.668 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.004993, allocations: 8.359 kB / 253.7 MB, free: 4.66 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.005001, allocations: 384 / 253.7 MB, free: 4.66 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.483e-05/0.005016, allocations: 11.88 kB / 253.7 MB, free: 4.648 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.005346, allocations: 255.7 kB / 253.9 MB, free: 4.363 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.752e-05/0.005403, allocations: 31.06 kB / 254 MB, free: 4.32 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.005427, allocations: 11.75 kB / 254 MB, free: 4.305 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.005437, allocations: 0 / 254 MB, free: 4.305 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.00554, allocations: 60.98 kB / 254 MB, free: 4.23 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.005541, allocations: 0 / 254 MB, free: 4.23 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001948/0.005736, allocations: 53.62 kB / 254.1 MB, free: 4.172 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.005782, allocations: 51.41 kB / 254.1 MB, free: 4.109 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.005884, allocations: 169.9 kB / 254.3 MB, free: 3.926 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.005897, allocations: 29.7 kB / 254.3 MB, free: 3.891 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.005954, allocations: 126.9 kB / 254.5 MB, free: 3.762 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.005975, allocations: 7.953 kB / 254.5 MB, free: 3.754 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.006011, allocations: 27.36 kB / 254.5 MB, free: 3.719 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.006152, allocations: 496.1 kB / 255 MB, free: 3.223 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.006186, allocations: 16.95 kB / 255 MB, free: 3.203 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.006215, allocations: 31.3 kB / 255 MB, free: 3.164 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.006251, allocations: 27.38 kB / 255.1 MB, free: 3.129 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006254, allocations: 4 kB / 255.1 MB, free: 3.125 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.586e-05/0.006319, allocations: 61.58 kB / 255.1 MB, free: 3.059 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.006331, allocations: 4 kB / 255.1 MB, free: 3.055 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006336, allocations: 3.938 kB / 255.1 MB, free: 3.051 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.006351, allocations: 4 kB / 255.1 MB, free: 3.047 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/0.006405, allocations: 11.98 kB / 255.1 MB, free: 3.035 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.00641, allocations: 0 / 255.1 MB, free: 3.035 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.006424, allocations: 4 kB / 255.2 MB, free: 3.031 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.00643, allocations: 0 / 255.2 MB, free: 3.031 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 6.795e-05/0.006498, allocations: 156.6 kB / 255.3 MB, free: 2.867 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-06/0.006503, allocations: 4.031 kB / 255.3 MB, free: 2.863 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.006532, allocations: 11.94 kB / 255.3 MB, free: 2.848 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.006535, allocations: 7.938 kB / 255.3 MB, free: 2.84 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.006538, allocations: 0 / 255.3 MB, free: 2.84 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.006542, allocations: 0 / 255.3 MB, free: 2.84 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.006714, allocations: 281.4 kB / 255.6 MB, free: 2.523 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006715, allocations: 0 / 255.6 MB, free: 2.523 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-06/0.006722, allocations: 4 kB / 255.6 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.006729, allocations: 8.203 kB / 255.6 MB, free: 2.512 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.006735, allocations: 0 / 255.6 MB, free: 2.512 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.006736, allocations: 0 / 255.6 MB, free: 2.512 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006737, allocations: 4 kB / 255.6 MB, free: 2.508 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.102e-05/0.006828, allocations: 207.8 kB / 255.8 MB, free: 2.285 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-06/0.006835, allocations: 7.938 kB / 255.8 MB, free: 2.277 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.006845, allocations: 0 / 255.8 MB, free: 2.277 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.006866, allocations: 0 / 255.8 MB, free: 2.277 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.00689, allocations: 3.984 kB / 255.8 MB, free: 2.273 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.006907, allocations: 4 kB / 255.8 MB, free: 2.27 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.875e-05/0.006946, allocations: 127.3 kB / 256 MB, free: 2.145 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006946, allocations: 0 / 256 MB, free: 2.145 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000193/0.007139, allocations: 27.92 kB / 256 MB, free: 2.117 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.0003517/0.007491, allocations: 196.6 kB / 256.2 MB, free: 1.945 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.007591, allocations: 23.61 kB / 256.2 MB, free: 1.918 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.007594, allocations: 4 kB / 256.2 MB, free: 1.914 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.007615, allocations: 15.75 kB / 256.2 MB, free: 1.895 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.007756, allocations: 7.938 kB / 256.2 MB, free: 1.887 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.008019, allocations: 117.3 kB / 256.3 MB, free: 1.746 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.102e-05/0.00807, allocations: 55.36 kB / 256.4 MB, free: 1.672 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.741e-05/0.008098, allocations: 15.91 kB / 256.4 MB, free: 1.656 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.008117, allocations: 12.5 kB / 256.4 MB, free: 1.645 MB / 234.7 MB Notification: Performance of SimCode: time 9.02e-07/0.008118, allocations: 0 / 256.4 MB, free: 1.645 MB / 234.7 MB Notification: Performance of Templates: time 0.003387/0.0115, allocations: 1.109 MB / 257.5 MB, free: 0.5391 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: 2.5763222449459136]