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.001453/0.001453, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001674/0.001674, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.575/1.575, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.00138/0.00138, allocations: 51.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1049, allocations: 46.62 MB / 374.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002897/0.1078, allocations: 1.332 MB / 376 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.109, allocations: 363.7 kB / 376.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.1091, allocations: 4 kB / 376.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.1092, allocations: 0 / 376.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.155e-05/0.1093, allocations: 11.88 kB / 376.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.11, allocations: 79.72 kB / 376.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.928e-05/0.1101, allocations: 19.92 kB / 376.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.1101, allocations: 0 / 376.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.18e-05/0.1102, allocations: 4 kB / 376.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.086e-05/0.1102, allocations: 11.94 kB / 376.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1102, allocations: 0 / 376.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.1105, allocations: 83.91 kB / 376.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.1105, allocations: 7.984 kB / 376.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.1106, allocations: 15.92 kB / 376.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1108, allocations: 83.7 kB / 376.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1108, allocations: 0 / 376.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.679e-06/0.1109, allocations: 0 / 376.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1109, allocations: 3.938 kB / 376.7 MB, free: 3.051 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.0005576/0.1114, allocations: 347.3 kB / 377 MB, free: 2.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.1115, allocations: 12.03 kB / 377 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.068e-05/0.1116, allocations: 34.73 kB / 377 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.1116, allocations: 0.9375 kB / 377 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.1118, allocations: 176.3 kB / 377.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1118, allocations: 384 / 377.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1118, allocations: 384 / 377.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.112, allocations: 42.25 kB / 377.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.112, allocations: 3.938 kB / 377.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.112, allocations: 0 / 377.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.112, allocations: 0 / 377.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.319e-05/0.1121, allocations: 7.938 kB / 377.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.1126, allocations: 249 kB / 377.5 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.64e-05/0.1127, allocations: 30.52 kB / 377.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.1127, allocations: 16.91 kB / 377.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1127, allocations: 0 / 377.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.1129, allocations: 51.34 kB / 377.6 MB, free: 1.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.664e-06/0.1129, allocations: 3.938 kB / 377.6 MB, free: 1.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002241/0.1131, allocations: 57.64 kB / 377.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.1132, allocations: 55.41 kB / 377.7 MB, free: 1.789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1133, allocations: 105.8 kB / 377.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1134, allocations: 25.7 kB / 377.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.1135, allocations: 88.14 kB / 377.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.1135, allocations: 8.781 kB / 377.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.1135, allocations: 17.72 kB / 378 MB, free: 1.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1137, allocations: 314.8 kB / 378.3 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.1137, allocations: 19.92 kB / 378.3 MB, free: 1.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.1138, allocations: 17.72 kB / 378.3 MB, free: 1.164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.561e-05/0.1139, allocations: 29.59 kB / 378.3 MB, free: 1.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1139, allocations: 0 / 378.3 MB, free: 1.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001567/0.1141, allocations: 65.84 kB / 378.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1141, allocations: 4 kB / 378.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1141, allocations: 0 / 378.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1141, allocations: 3.984 kB / 378.4 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.1142, allocations: 12.41 kB / 378.4 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1142, allocations: 0 / 378.4 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.1143, allocations: 3.953 kB / 378.4 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1143, allocations: 8 kB / 378.4 MB, free: 1.027 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 0.0001077/0.1144, allocations: 125.7 kB / 378.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.1144, allocations: 0 / 378.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.1145, allocations: 7.891 kB / 378.6 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1145, allocations: 0 / 378.6 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1145, allocations: 0 / 378.6 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1145, allocations: 7.938 kB / 378.6 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.1148, allocations: 286.6 kB / 378.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1149, allocations: 0 / 378.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.729e-05/0.1149, allocations: 7.938 kB / 378.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1149, allocations: 0 / 378.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1149, allocations: 0 / 378.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1149, allocations: 3.984 kB / 378.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1149, allocations: 0 / 378.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.1151, allocations: 151.4 kB / 379 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.1152, allocations: 81.06 kB / 379.1 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1152, allocations: 0 / 379.1 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.1153, allocations: 8 kB / 379.1 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.1153, allocations: 0 / 379.1 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.1153, allocations: 3.984 kB / 379.1 MB, free: 260 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.587e-05/0.1155, allocations: 87.22 kB / 379.2 MB, free: 172 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1155, allocations: 0 / 379.2 MB, free: 172 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000473/0.1159, allocations: 23.94 kB / 379.2 MB, free: 148 kB / 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.2166/0.3326, allocations: 0.7726 MB / 380 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.3328, allocations: 25.38 kB / 380 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3328, allocations: 0 / 380 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.714e-05/0.3328, allocations: 9.172 kB / 380 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.3331, allocations: 1.938 kB / 380 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009183/0.334, allocations: 1.238 MB / 381.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.3341, allocations: 0.6786 MB / 381.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.876e-05/0.3342, allocations: 6.031 kB / 381.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.3342, allocations: 13.22 kB / 381.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3342, allocations: 1.312 kB / 382 MB, free: 10.27 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.3535, allocations: 1.931 MB / 383.9 MB, free: 9.727 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/7.957, allocations: 16.8 kB / 383.9 MB, free: 9.711 MB / 318.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