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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 113.5 kB / 17.07 MB, free: 5.992 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.001296/0.001296, allocations: 193.4 kB / 18 MB, free: 5.074 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.437/1.437, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 51.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2554, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002467/0.2579, allocations: 1.337 MB / 401.6 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.2587, allocations: 352.6 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.2588, allocations: 4 kB / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.2588, allocations: 9.156 kB / 401.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.2589, allocations: 0 / 401.9 MB, free: 7.098 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.0004951/0.2594, allocations: 85.56 kB / 402 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.2594, allocations: 14.66 kB / 402 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.2595, allocations: 7.984 kB / 402 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.539e-05/0.2595, allocations: 11.92 kB / 402 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.219e-05/0.2595, allocations: 7.938 kB / 402.1 MB, free: 7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.2596, allocations: 4 kB / 402.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.2598, allocations: 83.84 kB / 402.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.2598, allocations: 12 kB / 402.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.2598, allocations: 3.938 kB / 402.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.26, allocations: 82.91 kB / 402.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.26, allocations: 0 / 402.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.26, allocations: 0 / 402.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.26, allocations: 4 kB / 402.2 MB, free: 6.816 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.0004126/0.2604, allocations: 351.3 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2605, allocations: 8.031 kB / 402.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.653e-05/0.2605, allocations: 34.7 kB / 402.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.2606, allocations: 4.938 kB / 402.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2607, allocations: 168.4 kB / 402.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.2607, allocations: 4.375 kB / 402.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.2608, allocations: 12 kB / 402.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.863e-05/0.2608, allocations: 33.7 kB / 402.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2609, allocations: 7.969 kB / 402.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.2609, allocations: 0 / 402.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2609, allocations: 0 / 402.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.2609, allocations: 4 kB / 402.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.2613, allocations: 268.9 kB / 403.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.483e-05/0.2614, allocations: 22.52 kB / 403.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.2614, allocations: 12.92 kB / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.2614, allocations: 4 kB / 403.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.2615, allocations: 47.39 kB / 403.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.2616, allocations: 4 kB / 403.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001654/0.2617, allocations: 61.62 kB / 403.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.2618, allocations: 51.41 kB / 403.3 MB, free: 5.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.2619, allocations: 105.8 kB / 403.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2619, allocations: 25.7 kB / 403.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.2619, allocations: 84.14 kB / 403.5 MB, free: 5.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.262, allocations: 15.88 kB / 403.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.262, allocations: 25.64 kB / 403.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2621, allocations: 314.8 kB / 403.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.2622, allocations: 12 kB / 403.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.182e-05/0.2622, allocations: 21.7 kB / 403.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.2623, allocations: 30.03 kB / 403.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2623, allocations: 0 / 403.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.744e-05/0.2624, allocations: 57.64 kB / 404 MB, free: 4.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2624, allocations: 8 kB / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2624, allocations: 4 kB / 404 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2624, allocations: 4.031 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.2625, allocations: 7.938 kB / 404 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.2625, allocations: 7.984 kB / 404 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.2625, allocations: 3.938 kB / 404 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2626, allocations: 0 / 404 MB, free: 4.781 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.467e-05/0.2626, allocations: 117.8 kB / 404.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-06/0.2627, allocations: 0 / 404.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.2627, allocations: 7.906 kB / 404.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2627, allocations: 0 / 404.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.2627, allocations: 4 kB / 404.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2627, allocations: 0 / 404.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.263, allocations: 294.5 kB / 404.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.263, allocations: 4.219 kB / 404.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.263, allocations: 0 / 404.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.263, allocations: 0 / 404.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.263, allocations: 4 kB / 404.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.263, allocations: 0 / 404.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.263, allocations: 3.938 kB / 404.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.2632, allocations: 147.5 kB / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.2632, allocations: 81.09 kB / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.2633, allocations: 0 / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.2633, allocations: 4 kB / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.2633, allocations: 3.938 kB / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.2633, allocations: 4 kB / 404.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.2634, allocations: 83.27 kB / 404.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2634, allocations: 0 / 404.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000269/0.2637, allocations: 31.94 kB / 404.8 MB, free: 3.898 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.0007968/0.2645, allocations: 0.7746 MB / 405.6 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.729e-05/0.2646, allocations: 23.88 kB / 405.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2646, allocations: 0 / 405.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.2646, allocations: 11.98 kB / 405.6 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.2649, allocations: 7.938 kB / 405.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.266, allocations: 1.216 MB / 406.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.2663, allocations: 0.6844 MB / 407.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.824e-05/0.2663, allocations: 4 kB / 407.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.2664, allocations: 19.42 kB / 407.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of SimCode: time 2.194e-06/0.2664, allocations: 0 / 407.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.2891, allocations: 1.934 MB / 409.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.384/8.673, allocations: 11.91 kB / 409.5 MB, free: 15.18 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > 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/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_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches