Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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.001063/0.001063, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.001003/0.001003, allocations: 191.9 kB / 18.51 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 48.14 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08625/0.08805, allocations: 46.64 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002246/0.09034, allocations: 1.32 MB / 328.7 MB, free: 3.047 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006638/0.09102, allocations: 367.6 kB / 329.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.09107, allocations: 3.938 kB / 329.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.09109, allocations: 0 / 329.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.09115, allocations: 7.938 kB / 329.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.09157, allocations: 79.73 kB / 329.2 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.012e-05/0.09163, allocations: 16 kB / 329.2 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.89e-05/0.0917, allocations: 11.98 kB / 329.2 MB, free: 2.566 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.09174, allocations: 11.92 kB / 329.2 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.8e-05/0.09177, allocations: 7.938 kB / 329.2 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.09179, allocations: 0 / 329.2 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.09197, allocations: 87.91 kB / 329.3 MB, free: 2.461 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.092, allocations: 3.938 kB / 329.3 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.09203, allocations: 11.94 kB / 329.3 MB, free: 2.445 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.09221, allocations: 83.81 kB / 329.4 MB, free: 2.363 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.09222, allocations: 0 / 329.4 MB, free: 2.363 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09222, allocations: 0 / 329.4 MB, free: 2.363 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.09223, allocations: 0 / 329.4 MB, free: 2.363 MB / 270.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.0003733/0.09261, allocations: 351.7 kB / 329.7 MB, free: 1.969 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.09266, allocations: 12.03 kB / 329.7 MB, free: 1.957 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.09272, allocations: 34.69 kB / 329.8 MB, free: 1.914 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.09275, allocations: 4.844 kB / 329.8 MB, free: 1.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.09286, allocations: 172.4 kB / 329.9 MB, free: 1.703 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.09288, allocations: 4.375 kB / 329.9 MB, free: 1.699 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.0929, allocations: 384 / 329.9 MB, free: 1.699 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.948e-05/0.09299, allocations: 38.25 kB / 330 MB, free: 1.656 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.093, allocations: 3.938 kB / 330 MB, free: 1.652 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.09302, allocations: 4 kB / 330 MB, free: 1.648 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.09302, allocations: 0 / 330 MB, free: 1.648 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/0.09305, allocations: 11.94 kB / 330 MB, free: 1.637 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.0934, allocations: 248.9 kB / 330.2 MB, free: 1.344 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.141e-05/0.09346, allocations: 30.52 kB / 330.3 MB, free: 1.305 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.0935, allocations: 12.86 kB / 330.3 MB, free: 1.289 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.633e-06/0.09351, allocations: 4 kB / 330.3 MB, free: 1.285 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.09364, allocations: 59.33 kB / 330.4 MB, free: 1.215 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.09365, allocations: 0 / 330.4 MB, free: 1.215 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.000149/0.0938, allocations: 57.58 kB / 330.4 MB, free: 1.152 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.09384, allocations: 51.41 kB / 330.5 MB, free: 1.09 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.09392, allocations: 109.8 kB / 330.6 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.09394, allocations: 25.7 kB / 330.6 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.09397, allocations: 88.14 kB / 330.7 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.09399, allocations: 7.906 kB / 330.7 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.09403, allocations: 17.7 kB / 330.7 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.09412, allocations: 318.8 kB / 331 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.09415, allocations: 4 kB / 331 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.09418, allocations: 21.7 kB / 331 MB, free: 480 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.513e-05/0.09423, allocations: 37.59 kB / 331.1 MB, free: 436 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.09424, allocations: 0 / 331.1 MB, free: 436 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.26e-05/0.09433, allocations: 57.62 kB / 331.1 MB, free: 372 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.09435, allocations: 4 kB / 331.1 MB, free: 368 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.09436, allocations: 0 / 331.1 MB, free: 368 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.09437, allocations: 0 / 331.1 MB, free: 368 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.09443, allocations: 8 kB / 331.1 MB, free: 360 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.09444, allocations: 3.984 kB / 331.1 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.09446, allocations: 3.906 kB / 331.1 MB, free: 352 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.09448, allocations: 8 kB / 331.2 MB, free: 344 kB / 270.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 6.174e-05/0.09455, allocations: 117.8 kB / 331.3 MB, free: 216 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.09456, allocations: 0 / 331.3 MB, free: 216 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.09458, allocations: 7.906 kB / 331.3 MB, free: 204 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.09459, allocations: 0 / 331.3 MB, free: 204 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.0946, allocations: 0 / 331.3 MB, free: 204 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.09461, allocations: 7.938 kB / 331.3 MB, free: 196 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.09482, allocations: 290.9 kB / 331.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.09483, allocations: 0 / 331.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.09485, allocations: 12 kB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.09486, allocations: 0 / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.09487, allocations: 0 / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.09488, allocations: 3.938 kB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.09488, allocations: 0 / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.09499, allocations: 151.4 kB / 331.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.09503, allocations: 85 kB / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.09504, allocations: 4 kB / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.381e-05/0.09509, allocations: 4 kB / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.09512, allocations: 0 / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.09513, allocations: 0 / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.829e-05/0.09517, allocations: 95.2 kB / 331.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09518, allocations: 0 / 331.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.09545, allocations: 20 kB / 331.9 MB, free: 15.45 MB / 286.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.0005752/0.09603, allocations: 0.7627 MB / 332.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.09613, allocations: 23.94 kB / 332.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.09614, allocations: 4.062 kB / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.476e-05/0.09617, allocations: 11.98 kB / 332.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.09636, allocations: 4 kB / 332.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008851/0.09726, allocations: 1.228 MB / 334 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.09745, allocations: 0.6768 MB / 334.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.657e-05/0.09748, allocations: 4 kB / 334.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.09751, allocations: 19.44 kB / 334.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09752, allocations: 0 / 334.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.1139, allocations: 1.897 MB / 336.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/7.523, allocations: 11.81 kB / 336.6 MB, free: 10.62 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches