Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.00172/0.00172, allocations: 115.6 kB / 20.43 MB, free: 1.465 MB / 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.002214/0.002214, allocations: 208.1 kB / 23.74 MB, free: 4.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 43.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3083, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002948/0.3113, allocations: 1.356 MB / 432.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.3123, allocations: 370.8 kB / 432.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.3123, allocations: 4 kB / 432.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.3123, allocations: 3.938 kB / 432.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.26e-05/0.3124, allocations: 0 / 432.9 MB, free: 5.125 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0006318/0.313, allocations: 95.69 kB / 433 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.356e-05/0.3131, allocations: 19.94 kB / 433 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.3132, allocations: 0 / 433 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.045e-05/0.3132, allocations: 11.92 kB / 433 MB, free: 5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.909e-05/0.3132, allocations: 11.92 kB / 433 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.3132, allocations: 4 kB / 433 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.3135, allocations: 119.8 kB / 433.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.3136, allocations: 8 kB / 433.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.3136, allocations: 7.938 kB / 433.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.3138, allocations: 87.61 kB / 433.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3138, allocations: 0 / 433.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3138, allocations: 0 / 433.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.3138, allocations: 0 / 433.2 MB, free: 4.77 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.000453/0.3143, allocations: 274.7 kB / 433.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3143, allocations: 8.031 kB / 433.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.215e-05/0.3144, allocations: 30.75 kB / 433.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.3144, allocations: 4.938 kB / 433.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.3146, allocations: 118.4 kB / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.3146, allocations: 12.38 kB / 433.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.3146, allocations: 384 / 433.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.3147, allocations: 34.25 kB / 433.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3147, allocations: 3.938 kB / 433.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3147, allocations: 4 kB / 433.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.3147, allocations: 0 / 433.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.175e-05/0.3148, allocations: 11.98 kB / 433.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.3152, allocations: 216 kB / 433.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.976e-05/0.3153, allocations: 34.5 kB / 434 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.3153, allocations: 8.922 kB / 434 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-06/0.3153, allocations: 4 kB / 434 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.3154, allocations: 51.41 kB / 434 MB, free: 3.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.3154, allocations: 0 / 434 MB, free: 3.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001822/0.3156, allocations: 53.62 kB / 434.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3157, allocations: 63.33 kB / 434.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3158, allocations: 109.8 kB / 434.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3158, allocations: 25.7 kB / 434.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.3158, allocations: 84.12 kB / 434.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.3159, allocations: 19.88 kB / 434.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.3159, allocations: 13.72 kB / 434.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.316, allocations: 318.8 kB / 434.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.811e-05/0.3161, allocations: 8 kB / 434.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.3161, allocations: 21.72 kB / 434.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.463e-05/0.3162, allocations: 37.58 kB / 434.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3162, allocations: 0 / 434.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.573e-05/0.3163, allocations: 49.92 kB / 434.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3163, allocations: 8 kB / 434.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3163, allocations: 0 / 434.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3163, allocations: 3.938 kB / 434.8 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.3164, allocations: 11.97 kB / 434.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.3164, allocations: 4 kB / 434.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.3164, allocations: 3.984 kB / 434.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3164, allocations: 4 kB / 434.8 MB, free: 2.941 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 9.312e-05/0.3165, allocations: 113.8 kB / 435 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.3165, allocations: 7.938 kB / 435 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.3165, allocations: 12 kB / 435 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3165, allocations: 0 / 435 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3165, allocations: 0 / 435 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3165, allocations: 4 kB / 435 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.3168, allocations: 258 kB / 435.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3168, allocations: 0 / 435.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/0.3168, allocations: 4 kB / 435.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.3168, allocations: 3.984 kB / 435.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.3168, allocations: 4 kB / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3168, allocations: 0 / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3168, allocations: 0 / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.317, allocations: 151.5 kB / 435.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.317, allocations: 3.953 kB / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.317, allocations: 0 / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.317, allocations: 0 / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.317, allocations: 7.984 kB / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3171, allocations: 0 / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.936e-05/0.3171, allocations: 95.09 kB / 435.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3171, allocations: 0 / 435.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.3174, allocations: 27.92 kB / 435.5 MB, free: 2.18 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.0008745/0.3183, allocations: 0.7701 MB / 436.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.3184, allocations: 23.92 kB / 436.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3184, allocations: 0 / 436.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.548e-05/0.3184, allocations: 8 kB / 436.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.3186, allocations: 7.938 kB / 436.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.3199, allocations: 1.231 MB / 437.6 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3203, allocations: 0.6845 MB / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.348e-05/0.3203, allocations: 7.984 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.3203, allocations: 7.438 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3203, allocations: 4 kB / 438.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.3499, allocations: 2.06 MB / 440.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.06, allocations: 12.67 kB / 440.3 MB, free: 13.4 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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: 14.593605186091736]