Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 113.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3081, allocations: 50.53 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002319/0.3105, allocations: 1.337 MB / 411.3 MB, free: 276 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000751/0.3113, allocations: 353.4 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.3113, allocations: 0 / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.3114, allocations: 7.938 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.353e-05/0.3114, allocations: 0 / 411.6 MB, free: 15.92 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.000484/0.3119, allocations: 87.73 kB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.312, allocations: 19.91 kB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.312, allocations: 4 kB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.3121, allocations: 7.938 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.382e-05/0.3121, allocations: 7.938 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.3121, allocations: 4 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.3123, allocations: 87.78 kB / 411.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.3123, allocations: 4 kB / 411.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.3124, allocations: 11.92 kB / 411.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.3126, allocations: 87.81 kB / 411.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3126, allocations: 0 / 411.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3126, allocations: 0 / 411.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3126, allocations: 4 kB / 411.9 MB, free: 15.6 MB / 334.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.000405/0.313, allocations: 343.5 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.313, allocations: 8.031 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.3131, allocations: 4.938 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3132, allocations: 168 kB / 412.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3132, allocations: 384 / 412.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3133, allocations: 8.375 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.79e-05/0.3134, allocations: 38.14 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3134, allocations: 192 / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3134, allocations: 3.938 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.3134, allocations: 3.984 kB / 412.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.3134, allocations: 11.98 kB / 412.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.3138, allocations: 241 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.3138, allocations: 30.52 kB / 412.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.3139, allocations: 12.86 kB / 412.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.3139, allocations: 0 / 412.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.314, allocations: 55.39 kB / 412.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.314, allocations: 0 / 412.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001667/0.3142, allocations: 61.58 kB / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3142, allocations: 59.34 kB / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/0.3143, allocations: 109.8 kB / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3143, allocations: 29.7 kB / 413.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.3144, allocations: 84.14 kB / 413.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.3144, allocations: 3.906 kB / 413.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.3144, allocations: 17.72 kB / 413.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3145, allocations: 318.8 kB / 413.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.3146, allocations: 8 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.3146, allocations: 17.72 kB / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.3147, allocations: 29.7 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3147, allocations: 4 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.125e-05/0.3148, allocations: 57.56 kB / 413.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3148, allocations: 6.656 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3148, allocations: 3.984 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3148, allocations: 4 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.3149, allocations: 8 kB / 413.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3149, allocations: 4.031 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.3149, allocations: 15.78 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3149, allocations: 0 / 413.7 MB, free: 13.63 MB / 334.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 7.336e-05/0.315, allocations: 125.6 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.315, allocations: 0 / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.3151, allocations: 7.906 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3151, allocations: 0 / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3151, allocations: 4 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3151, allocations: 0 / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.3153, allocations: 282.6 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3153, allocations: 3.984 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.434e-05/0.3153, allocations: 4 kB / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3153, allocations: 0 / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.3153, allocations: 0 / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3154, allocations: 3.938 kB / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3154, allocations: 0 / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.3155, allocations: 155.8 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.3155, allocations: 81.02 kB / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3155, allocations: 0 / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.177e-05/0.3156, allocations: 7.984 kB / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.3156, allocations: 384 / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3156, allocations: 0 / 414.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.187e-05/0.3157, allocations: 91.28 kB / 414.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3157, allocations: 0 / 414.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3159, allocations: 27.98 kB / 414.4 MB, free: 12.74 MB / 334.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.0003541/0.3163, allocations: 167.4 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.3164, allocations: 27.97 kB / 414.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3164, allocations: 7.875 kB / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.3164, allocations: 12.05 kB / 414.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.3167, allocations: 11.28 kB / 414.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.3169, allocations: 124.7 kB / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.3171, allocations: 0.6768 MB / 415.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.3172, allocations: 15.38 kB / 415.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3172, allocations: 0 / 415.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of Templates: time 0.002727/0.3199, allocations: 1.158 MB / 416.6 MB, free: 10.5 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches