Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002315/0.002315, allocations: 110.5 kB / 17.06 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 192 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 51.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3125, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002691/0.3153, allocations: 1.331 MB / 402.1 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008244/0.3161, allocations: 365.1 kB / 402.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.3162, allocations: 4 kB / 402.4 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.3162, allocations: 0 / 402.4 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.3163, allocations: 7.938 kB / 402.4 MB, free: 7.184 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.3169, allocations: 79.73 kB / 402.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.317, allocations: 19.92 kB / 402.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.317, allocations: 4 kB / 402.5 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.317, allocations: 7.922 kB / 402.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.898e-05/0.3171, allocations: 15.92 kB / 402.6 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3171, allocations: 0 / 402.6 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.3173, allocations: 79.92 kB / 402.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.3173, allocations: 7.984 kB / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.3174, allocations: 11.94 kB / 402.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.3176, allocations: 87.75 kB / 402.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3176, allocations: 0 / 402.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3176, allocations: 0 / 402.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3176, allocations: 0 / 402.7 MB, free: 6.875 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.0004203/0.318, allocations: 343.6 kB / 403.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3181, allocations: 15.89 kB / 403.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.3181, allocations: 4.844 kB / 403.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.3183, allocations: 161.8 kB / 403.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3183, allocations: 8.375 kB / 403.3 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.3183, allocations: 384 / 403.3 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.3184, allocations: 41.56 kB / 403.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3184, allocations: 0 / 403.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.3185, allocations: 0 / 403.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3185, allocations: 0 / 403.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.525e-05/0.3185, allocations: 11.94 kB / 403.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.3189, allocations: 248.9 kB / 403.6 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.3189, allocations: 26.52 kB / 403.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.319, allocations: 16.91 kB / 403.6 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.319, allocations: 0 / 403.6 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.3191, allocations: 55.34 kB / 403.6 MB, free: 5.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3192, allocations: 0 / 403.6 MB, free: 5.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001909/0.3194, allocations: 65.72 kB / 403.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3194, allocations: 51.41 kB / 403.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.3195, allocations: 105.8 kB / 403.9 MB, free: 5.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.3195, allocations: 25.7 kB / 403.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.3196, allocations: 84.14 kB / 404 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.3196, allocations: 7.906 kB / 404 MB, free: 5.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.3196, allocations: 21.7 kB / 404 MB, free: 5.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3198, allocations: 314.8 kB / 404.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.599e-05/0.3198, allocations: 12 kB / 404.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.3198, allocations: 25.64 kB / 404.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/0.3199, allocations: 25.72 kB / 404.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3199, allocations: 0 / 404.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.074e-05/0.32, allocations: 57.62 kB / 404.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.32, allocations: 8 kB / 404.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.32, allocations: 0 / 404.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3201, allocations: 4.031 kB / 404.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.3201, allocations: 11.98 kB / 404.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3201, allocations: 0 / 404.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.3202, allocations: 7.969 kB / 404.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3202, allocations: 0 / 404.5 MB, free: 4.918 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 8.382e-05/0.3203, allocations: 113.8 kB / 404.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.3203, allocations: 11.91 kB / 404.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.3203, allocations: 3.906 kB / 404.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3203, allocations: 4 kB / 404.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3203, allocations: 4 kB / 404.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3204, allocations: 0 / 404.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.3206, allocations: 294.5 kB / 404.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3206, allocations: 0 / 404.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.3206, allocations: 0 / 404.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3206, allocations: 0 / 404.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3207, allocations: 0 / 404.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3207, allocations: 4 kB / 404.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3207, allocations: 0 / 404.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.3208, allocations: 159.4 kB / 405 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.3209, allocations: 85 kB / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3209, allocations: 0 / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.3209, allocations: 0 / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.321, allocations: 3.938 kB / 405.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.321, allocations: 4 kB / 405.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.321, allocations: 87.27 kB / 405.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.321, allocations: 0 / 405.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.3213, allocations: 28 kB / 405.2 MB, free: 4.023 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.0004738/0.3218, allocations: 188.2 kB / 405.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.322, allocations: 23.92 kB / 405.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.322, allocations: 8 kB / 405.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.322, allocations: 8 kB / 405.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.3222, allocations: 4 kB / 405.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.3225, allocations: 105.6 kB / 405.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3228, allocations: 0.6805 MB / 406.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.71e-05/0.3229, allocations: 7.984 kB / 406.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.3229, allocations: 11.44 kB / 406.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3229, allocations: 0 / 406.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of Templates: time 0.003664/0.3266, allocations: 0.9453 MB / 407.2 MB, free: 2.016 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches