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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 207.8 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.83 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3247, allocations: 50.54 MB / 408.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002889/0.3276, allocations: 1.352 MB / 410.1 MB, free: 168 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008524/0.3285, allocations: 349.4 kB / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.3286, allocations: 0 / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.3287, allocations: 0 / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.872e-05/0.3287, allocations: 3.938 kB / 410.4 MB, free: 15.82 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.0005818/0.3293, allocations: 95.72 kB / 410.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.3294, allocations: 15.92 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.3294, allocations: 4 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.741e-05/0.3295, allocations: 7.938 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.115e-05/0.3295, allocations: 15.91 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3295, allocations: 4 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.3297, allocations: 75.92 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.3298, allocations: 3.984 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.3298, allocations: 11.94 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.33, allocations: 83.81 kB / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.33, allocations: 7.938 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.33, allocations: 0 / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3301, allocations: 0 / 410.8 MB, free: 15.5 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.0004478/0.3305, allocations: 349.2 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3306, allocations: 11.97 kB / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.3306, allocations: 34.73 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.3307, allocations: 4.938 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3308, allocations: 164.3 kB / 411.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3308, allocations: 4.312 kB / 411.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3308, allocations: 4.375 kB / 411.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.3309, allocations: 42.25 kB / 411.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3309, allocations: 7.922 kB / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.3309, allocations: 0 / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.331, allocations: 0 / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/0.331, allocations: 7.938 kB / 411.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.3314, allocations: 253 kB / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.358e-05/0.3315, allocations: 30.5 kB / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.3315, allocations: 16.92 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.3315, allocations: 0 / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.3317, allocations: 51.34 kB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.3317, allocations: 0 / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001763/0.3318, allocations: 57.69 kB / 411.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.3319, allocations: 55.39 kB / 411.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.643e-05/0.332, allocations: 109.9 kB / 411.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.332, allocations: 25.7 kB / 412 MB, free: 14.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.332, allocations: 95.97 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.3321, allocations: 3.906 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3321, allocations: 21.72 kB / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3322, allocations: 310.8 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.3323, allocations: 11.98 kB / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.3323, allocations: 21.66 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/0.3324, allocations: 33.66 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3324, allocations: 0 / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.368e-05/0.3325, allocations: 61.61 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3325, allocations: 4 kB / 412.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3325, allocations: 0 / 412.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3325, allocations: 4 kB / 412.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.3326, allocations: 4 kB / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3326, allocations: 0 / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.902e-05/0.3326, allocations: 11.97 kB / 412.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3326, allocations: 0 / 412.5 MB, free: 13.47 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 8.82e-05/0.3327, allocations: 121.7 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.3327, allocations: 7.922 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.3328, allocations: 3.906 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3328, allocations: 4 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3328, allocations: 0 / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3328, allocations: 0 / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.333, allocations: 286.4 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.333, allocations: 8.281 kB / 413 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.3331, allocations: 0 / 413 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3331, allocations: 0 / 413 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3331, allocations: 7.984 kB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3331, allocations: 3.984 kB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3331, allocations: 4 kB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.3332, allocations: 147.4 kB / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.3333, allocations: 81.11 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3333, allocations: 4 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.3333, allocations: 384 / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.3334, allocations: 7.984 kB / 413.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3334, allocations: 4 kB / 413.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.594e-05/0.3334, allocations: 87.22 kB / 413.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3334, allocations: 0 / 413.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3337, allocations: 31.98 kB / 413.3 MB, free: 12.57 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.0006627/0.3344, allocations: 0.7626 MB / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.3345, allocations: 23.98 kB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3345, allocations: 0 / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.474e-05/0.3345, allocations: 4 kB / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.3348, allocations: 8 kB / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3359, allocations: 1.219 MB / 415.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.3361, allocations: 0.6807 MB / 416 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.562e-05/0.3362, allocations: 11.98 kB / 416 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.3362, allocations: 15.44 kB / 416.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3362, allocations: 0 / 416.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.355, allocations: 1.949 MB / 418 MB, free: 7.863 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.319, allocations: 3.938 kB / 418 MB, free: 7.859 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > 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