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.00144/0.00144, allocations: 120.2 kB / 21.94 MB, free: 8 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.00157/0.00157, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.515/1.515, allocations: 207.6 MB / 236 MB, free: 9.988 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 51.92 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2764, allocations: 49.16 MB / 397.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002427/0.2789, allocations: 1.342 MB / 398.9 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007986/0.2797, allocations: 371.8 kB / 399.3 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.2797, allocations: 4 kB / 399.3 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.2798, allocations: 1.406 kB / 399.3 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.89e-05/0.2798, allocations: 3.938 kB / 399.3 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.2803, allocations: 93.09 kB / 399.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.66e-05/0.2804, allocations: 12.42 kB / 399.4 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.2805, allocations: 6.344 kB / 399.4 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.668e-05/0.2805, allocations: 16.11 kB / 399.4 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.313e-05/0.2805, allocations: 4.016 kB / 399.4 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2805, allocations: 2.219 kB / 399.4 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.2808, allocations: 120.3 kB / 399.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.2808, allocations: 12.88 kB / 399.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.2808, allocations: 8.781 kB / 399.6 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.281, allocations: 83.58 kB / 399.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.281, allocations: 0 / 399.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.281, allocations: 3.938 kB / 399.7 MB, free: 8.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.2811, allocations: 3.938 kB / 399.7 MB, free: 8.207 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.0003574/0.2814, allocations: 271.5 kB / 399.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2815, allocations: 14.62 kB / 399.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.2815, allocations: 6.125 kB / 400 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.697e-05/0.2816, allocations: 109.6 kB / 400.1 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2816, allocations: 6.672 kB / 400.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.2816, allocations: 1.719 kB / 400.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.976e-05/0.2817, allocations: 36.72 kB / 400.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2817, allocations: 192 / 400.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.2817, allocations: 3.938 kB / 400.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2817, allocations: 1.312 kB / 400.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.2817, allocations: 4.172 kB / 400.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.282, allocations: 219 kB / 400.3 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.422e-05/0.2821, allocations: 21.69 kB / 400.4 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.2821, allocations: 16.78 kB / 400.4 MB, free: 7.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.2821, allocations: 2.078 kB / 400.4 MB, free: 7.473 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.2822, allocations: 56.06 kB / 400.4 MB, free: 7.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2822, allocations: 3.938 kB / 400.4 MB, free: 7.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001732/0.2824, allocations: 63.19 kB / 400.5 MB, free: 7.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.2824, allocations: 52.34 kB / 400.5 MB, free: 7.305 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.2825, allocations: 104 kB / 400.6 MB, free: 7.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.2825, allocations: 27.56 kB / 400.7 MB, free: 7.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.2825, allocations: 89.83 kB / 400.8 MB, free: 7.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.2826, allocations: 5.203 kB / 400.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.2826, allocations: 20.28 kB / 400.8 MB, free: 7.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.2826, allocations: 312.9 kB / 401.1 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.2827, allocations: 13.8 kB / 401.1 MB, free: 6.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/0.2827, allocations: 20.44 kB / 401.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.177e-05/0.2827, allocations: 29.34 kB / 401.1 MB, free: 6.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2827, allocations: 0 / 401.1 MB, free: 6.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.885e-05/0.2828, allocations: 66.31 kB / 401.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2828, allocations: 5.938 kB / 401.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2828, allocations: 0 / 401.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2829, allocations: 5.75 kB / 401.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.2829, allocations: 6.609 kB / 401.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2829, allocations: 1.797 kB / 401.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.2829, allocations: 1.25 kB / 401.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.2829, allocations: 1.906 kB / 401.2 MB, free: 6.641 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 5.312e-05/0.283, allocations: 117.7 kB / 401.4 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.283, allocations: 1.688 kB / 401.4 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.283, allocations: 5.625 kB / 401.4 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.283, allocations: 4.734 kB / 401.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.283, allocations: 5.156 kB / 401.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.283, allocations: 0 / 401.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.2832, allocations: 265 kB / 401.6 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2832, allocations: 1.75 kB / 401.6 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.317e-05/0.2832, allocations: 5.156 kB / 401.6 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2832, allocations: 5.734 kB / 401.6 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2832, allocations: 0 / 401.6 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.2832, allocations: 1.828 kB / 401.6 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2832, allocations: 384 / 401.6 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.448e-05/0.2833, allocations: 147.8 kB / 401.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.2833, allocations: 1.578 kB / 401.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.2833, allocations: 5.547 kB / 401.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.682e-05/0.2834, allocations: 9.188 kB / 401.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.2834, allocations: 3 kB / 401.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.2834, allocations: 2.156 kB / 401.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.786e-05/0.2835, allocations: 81.05 kB / 401.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2835, allocations: 0 / 401.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.2838, allocations: 32.16 kB / 401.9 MB, free: 5.973 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.0004228/0.2842, allocations: 180.8 kB / 402.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.2843, allocations: 23.45 kB / 402.1 MB, free: 5.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2843, allocations: 0 / 402.1 MB, free: 5.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.054e-05/0.2843, allocations: 15.45 kB / 402.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.2846, allocations: 1.031 kB / 402.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.2848, allocations: 137.7 kB / 402.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.2849, allocations: 0.6782 MB / 402.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.285, allocations: 9.062 kB / 403 MB, free: 4.965 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.285, allocations: 0 / 403 MB, free: 4.965 MB / 318.1 MB Notification: Performance of Templates: time 0.003454/0.2884, allocations: 1.166 MB / 404.1 MB, free: 4.828 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/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: 7.638067729072645]