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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 104.5 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.728/1.728, allocations: 207.6 MB / 235.2 MB, free: 10.01 MB / 190.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 55.92 kB / 347.6 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4011, allocations: 49.16 MB / 396.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.00293/0.404, allocations: 1.338 MB / 398.1 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009459/0.4049, allocations: 368.2 kB / 398.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.405, allocations: 1.562 kB / 398.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.405, allocations: 4.594 kB / 398.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.4051, allocations: 7.875 kB / 398.5 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.4057, allocations: 96.53 kB / 398.6 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.919e-05/0.4058, allocations: 13.84 kB / 398.6 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.4058, allocations: 1.469 kB / 398.6 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.4059, allocations: 12.91 kB / 398.6 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.737e-05/0.4059, allocations: 7.766 kB / 398.6 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.4059, allocations: 1.031 kB / 398.6 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.4062, allocations: 125 kB / 398.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.4062, allocations: 9.953 kB / 398.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.4062, allocations: 10.17 kB / 398.8 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.4065, allocations: 82.2 kB / 398.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4065, allocations: 0.9375 kB / 398.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4065, allocations: 5.344 kB / 398.9 MB, free: 8.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.4065, allocations: 0 / 398.9 MB, free: 8.215 MB / 318.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.0003915/0.4069, allocations: 268.9 kB / 399.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4069, allocations: 13.11 kB / 399.1 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.407, allocations: 7.875 kB / 399.2 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.648e-05/0.407, allocations: 116.9 kB / 399.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4071, allocations: 1.906 kB / 399.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.4071, allocations: 6.562 kB / 399.3 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.747e-05/0.4072, allocations: 31.89 kB / 399.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4072, allocations: 1.469 kB / 399.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4072, allocations: 3.938 kB / 399.3 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4072, allocations: 0.9844 kB / 399.3 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.4072, allocations: 2.469 kB / 399.3 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.4075, allocations: 220.3 kB / 399.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.516e-05/0.4076, allocations: 25.95 kB / 399.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/0.4076, allocations: 14.06 kB / 399.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-06/0.4076, allocations: 0 / 399.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.4078, allocations: 52.17 kB / 399.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4078, allocations: 3.938 kB / 399.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002016/0.408, allocations: 59.58 kB / 399.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.408, allocations: 52.78 kB / 399.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.4081, allocations: 113.3 kB / 399.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.4081, allocations: 25.7 kB / 399.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.4081, allocations: 82.09 kB / 400 MB, free: 7.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.4082, allocations: 6 kB / 400 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.4082, allocations: 18.64 kB / 400 MB, free: 7.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.4083, allocations: 318 kB / 400.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.402e-05/0.4083, allocations: 9.078 kB / 400.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.4083, allocations: 20.52 kB / 400.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.4084, allocations: 33.61 kB / 400.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4084, allocations: 3.938 kB / 400.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.853e-05/0.4084, allocations: 62.36 kB / 400.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4085, allocations: 7.328 kB / 400.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4085, allocations: 0 / 400.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4085, allocations: 9.406 kB / 400.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.4086, allocations: 6.641 kB / 400.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.4086, allocations: 1.062 kB / 400.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.4086, allocations: 1.062 kB / 400.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.4086, allocations: 3.359 kB / 400.4 MB, free: 6.645 MB / 318.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 6.32e-05/0.4087, allocations: 116.7 kB / 400.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-06/0.4087, allocations: 1.125 kB / 400.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.4087, allocations: 5.75 kB / 400.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4087, allocations: 5.344 kB / 400.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4087, allocations: 384 / 400.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4087, allocations: 1.828 kB / 400.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.4089, allocations: 268.4 kB / 400.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4089, allocations: 5.375 kB / 400.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.4089, allocations: 1.344 kB / 400.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4089, allocations: 3.938 kB / 400.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.4089, allocations: 2.5 kB / 400.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4089, allocations: 0 / 400.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4089, allocations: 1.375 kB / 400.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.409, allocations: 151.3 kB / 401 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.409, allocations: 2.391 kB / 401 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.409, allocations: 2.953 kB / 401 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.4091, allocations: 0 / 401 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.4091, allocations: 1.828 kB / 401 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.4091, allocations: 4.781 kB / 401 MB, free: 6.066 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.388e-05/0.4092, allocations: 86.56 kB / 401.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4092, allocations: 0 / 401.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.4095, allocations: 28.09 kB / 401.1 MB, free: 5.98 MB / 318.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.0004625/0.4099, allocations: 180.1 kB / 401.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.41, allocations: 23.27 kB / 401.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.41, allocations: 1.344 kB / 401.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.4101, allocations: 10.02 kB / 401.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.4103, allocations: 1.625 kB / 401.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.4106, allocations: 115.5 kB / 401.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.4107, allocations: 0.6816 MB / 402.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.151e-05/0.4108, allocations: 10.08 kB / 402.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.4108, allocations: 9.844 kB / 402.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4108, allocations: 4 kB / 402.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of Templates: time 0.00455/0.4153, allocations: 0.9579 MB / 403.1 MB, free: 4.859 MB / 318.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: 5.189439616166055]