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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00195/0.00195, allocations: 213.9 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 59.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3534, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002883/0.3563, allocations: 1.352 MB / 432.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008815/0.3572, allocations: 366.8 kB / 432.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.3572, allocations: 0 / 432.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.3573, allocations: 3.938 kB / 432.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.026e-05/0.3574, allocations: 8 kB / 432.9 MB, free: 4.973 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.0006812/0.358, allocations: 95.64 kB / 433 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.3581, allocations: 15.98 kB / 433 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.065e-05/0.3582, allocations: 7.938 kB / 433 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.002e-05/0.3582, allocations: 0 / 433 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.047e-05/0.3582, allocations: 11.94 kB / 433 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.3583, allocations: 0 / 433 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.3586, allocations: 127.7 kB / 433.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.3586, allocations: 4 kB / 433.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.3586, allocations: 11.94 kB / 433.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.3589, allocations: 95.53 kB / 433.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3589, allocations: 0 / 433.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3589, allocations: 0 / 433.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3589, allocations: 0 / 433.3 MB, free: 4.613 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.0005034/0.3594, allocations: 266.7 kB / 433.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.3595, allocations: 12.03 kB / 433.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.455e-05/0.3595, allocations: 34.69 kB / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.3596, allocations: 4.922 kB / 433.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3597, allocations: 118.4 kB / 433.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3597, allocations: 384 / 433.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.3597, allocations: 8.375 kB / 433.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.3599, allocations: 34.25 kB / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3599, allocations: 3.938 kB / 433.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3599, allocations: 0 / 433.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.3599, allocations: 4 kB / 433.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.3599, allocations: 8 kB / 433.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.3604, allocations: 224 kB / 434 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.3604, allocations: 30.52 kB / 434 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.3605, allocations: 8.922 kB / 434 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.3605, allocations: 0 / 434 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.3607, allocations: 55.39 kB / 434.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.3607, allocations: 0 / 434.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002075/0.3609, allocations: 53.81 kB / 434.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.361, allocations: 59.41 kB / 434.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3611, allocations: 113.8 kB / 434.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3611, allocations: 25.7 kB / 434.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.3612, allocations: 80.14 kB / 434.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.3612, allocations: 11.89 kB / 434.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.3612, allocations: 21.7 kB / 434.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3614, allocations: 314.8 kB / 434.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.3614, allocations: 4 kB / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.3614, allocations: 25.7 kB / 434.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.981e-05/0.3615, allocations: 41.58 kB / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3615, allocations: 0 / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.579e-05/0.3616, allocations: 49.69 kB / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3616, allocations: 11.88 kB / 434.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3616, allocations: 0 / 434.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3616, allocations: 4 kB / 434.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.3617, allocations: 7.984 kB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3617, allocations: 8.016 kB / 434.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.3617, allocations: 8 kB / 434.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3617, allocations: 0 / 434.9 MB, free: 2.789 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 0.0001151/0.3618, allocations: 117.7 kB / 435 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.3619, allocations: 3.953 kB / 435 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.3619, allocations: 8 kB / 435 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3619, allocations: 4 kB / 435 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3619, allocations: 0 / 435 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3619, allocations: 0 / 435 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.3622, allocations: 265.6 kB / 435.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3622, allocations: 4 kB / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.3622, allocations: 0 / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3622, allocations: 0 / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3622, allocations: 384 / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3622, allocations: 0 / 435.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3622, allocations: 8 kB / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.3623, allocations: 143.5 kB / 435.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.3624, allocations: 15.94 kB / 435.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.3624, allocations: 0 / 435.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.3624, allocations: 0 / 435.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.3624, allocations: 3.938 kB / 435.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3624, allocations: 4 kB / 435.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.253e-05/0.3625, allocations: 91.2 kB / 435.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3625, allocations: 0 / 435.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.3628, allocations: 27.94 kB / 435.6 MB, free: 2.023 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.0008506/0.3637, allocations: 0.7541 MB / 436.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.3638, allocations: 23.94 kB / 436.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3638, allocations: 3.938 kB / 436.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.3638, allocations: 11.97 kB / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.364, allocations: 5.141 kB / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.3653, allocations: 1.231 MB / 437.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3656, allocations: 0.6807 MB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.696e-05/0.3657, allocations: 8.375 kB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3657, allocations: 11.42 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3657, allocations: 0 / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04221/0.4079, allocations: 2.063 MB / 440.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.86, allocations: 9.891 kB / 440.4 MB, free: 13.22 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000384541 Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.csv","/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_trunk_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.593298160001723]