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.001674/0.001674, allocations: 103.6 kB / 21.18 MB, free: 332 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.001965/0.001965, allocations: 210.7 kB / 24.47 MB, free: 3.547 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.563/1.563, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.002236/0.002236, allocations: 55.92 kB / 347.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3388, allocations: 49.16 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002732/0.3416, allocations: 1.339 MB / 398.2 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008627/0.3424, allocations: 344.4 kB / 398.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.3424, allocations: 3.938 kB / 398.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.3425, allocations: 3.938 kB / 398.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.848e-05/0.3425, allocations: 1.875 kB / 398.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.3431, allocations: 97.67 kB / 398.6 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.992e-05/0.3432, allocations: 24.08 kB / 398.6 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.3432, allocations: 2.688 kB / 398.7 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.3432, allocations: 4.156 kB / 398.7 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.87e-05/0.3433, allocations: 11.27 kB / 398.7 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3433, allocations: 1.188 kB / 398.7 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.3435, allocations: 120.8 kB / 398.8 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.3436, allocations: 1.859 kB / 398.8 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.3436, allocations: 11.91 kB / 398.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.3438, allocations: 83.97 kB / 398.9 MB, free: 8.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3438, allocations: 4.516 kB / 398.9 MB, free: 8.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3438, allocations: 0 / 398.9 MB, free: 8.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.3438, allocations: 0 / 398.9 MB, free: 8.117 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.0004038/0.3442, allocations: 269.9 kB / 399.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3443, allocations: 13.23 kB / 399.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.3443, allocations: 2.625 kB / 399.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.3444, allocations: 111.1 kB / 399.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3444, allocations: 384 / 399.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.3444, allocations: 7.75 kB / 399.3 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.4e-05/0.3445, allocations: 36.42 kB / 399.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3445, allocations: 4.125 kB / 399.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3445, allocations: 7.938 kB / 399.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3445, allocations: 1.969 kB / 399.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.3445, allocations: 7.375 kB / 399.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.3448, allocations: 189.2 kB / 399.5 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.343e-05/0.3449, allocations: 25.95 kB / 399.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.269e-05/0.3449, allocations: 13.52 kB / 399.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.3449, allocations: 0.8438 kB / 399.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.345, allocations: 57.16 kB / 399.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.345, allocations: 4 kB / 399.6 MB, free: 7.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001677/0.3452, allocations: 59.94 kB / 399.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.3452, allocations: 52.5 kB / 399.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.3453, allocations: 104.9 kB / 399.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.3453, allocations: 26.89 kB / 399.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.3453, allocations: 90.11 kB / 399.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.3453, allocations: 6.047 kB / 400 MB, free: 7.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.3453, allocations: 19.72 kB / 400 MB, free: 7.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.3454, allocations: 313.4 kB / 400.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/0.3454, allocations: 10.31 kB / 400.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.3454, allocations: 25.16 kB / 400.3 MB, free: 6.664 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.955e-05/0.3455, allocations: 27.42 kB / 400.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3455, allocations: 5.688 kB / 400.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.091e-05/0.3456, allocations: 62.05 kB / 400.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3456, allocations: 5.734 kB / 400.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3456, allocations: 1.469 kB / 400.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3456, allocations: 0 / 400.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.3457, allocations: 7.406 kB / 400.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3457, allocations: 5.766 kB / 400.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.3457, allocations: 5.219 kB / 400.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.3457, allocations: 6.109 kB / 400.4 MB, free: 6.578 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.122e-05/0.3458, allocations: 113 kB / 400.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.3458, allocations: 11.12 kB / 400.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.3458, allocations: 4 kB / 400.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3458, allocations: 1.781 kB / 400.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3458, allocations: 0 / 400.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3458, allocations: 1.281 kB / 400.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.3459, allocations: 235.4 kB / 400.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3459, allocations: 1.469 kB / 400.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.346, allocations: 6.312 kB / 400.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.346, allocations: 4 kB / 400.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.346, allocations: 1.438 kB / 400.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.346, allocations: 0.7969 kB / 400.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.346, allocations: 384 / 400.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.154e-05/0.3461, allocations: 153.2 kB / 401 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-06/0.3461, allocations: 2.031 kB / 401 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3461, allocations: 2.062 kB / 401 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.257e-05/0.3461, allocations: 4 kB / 401 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.3461, allocations: 2.75 kB / 401 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3462, allocations: 6.625 kB / 401 MB, free: 6.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.647e-05/0.3462, allocations: 81.84 kB / 401.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3462, allocations: 4 kB / 401.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.3465, allocations: 28.31 kB / 401.1 MB, free: 5.953 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.000403/0.3469, allocations: 182.5 kB / 401.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.347, allocations: 26.78 kB / 401.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.347, allocations: 0 / 401.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.85e-05/0.347, allocations: 18.83 kB / 401.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.3472, allocations: 6.156 kB / 401.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.3474, allocations: 119.7 kB / 401.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.3475, allocations: 61.59 kB / 401.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.253e-05/0.3475, allocations: 10.77 kB / 401.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.3475, allocations: 8.594 kB / 401.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3475, allocations: 64 / 401.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of Templates: time 0.004056/0.3516, allocations: 0.9542 MB / 402.5 MB, free: 5.43 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.012626629322767]