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.001311/0.001311, allocations: 109.2 kB / 17.73 MB, free: 5.301 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.001342/0.001342, allocations: 188.2 kB / 18.67 MB, free: 4.367 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.428/1.428, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001667/0.001667, allocations: 51.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09623, allocations: 46.63 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002573/0.09886, allocations: 1.32 MB / 376 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.09968, allocations: 363.7 kB / 376.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.09972, allocations: 0 / 376.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.09977, allocations: 0 / 376.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/0.09983, allocations: 7.938 kB / 376.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.1003, allocations: 83.7 kB / 376.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.998e-05/0.1004, allocations: 15.94 kB / 376.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.1004, allocations: 4 kB / 376.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.1005, allocations: 3.984 kB / 376.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.553e-05/0.1005, allocations: 15.92 kB / 376.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1005, allocations: 0 / 376.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.1007, allocations: 87.84 kB / 376.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.1008, allocations: 4 kB / 376.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.1008, allocations: 7.938 kB / 376.6 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.101, allocations: 91.69 kB / 376.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.101, allocations: 0 / 376.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.101, allocations: 0 / 376.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.101, allocations: 3.938 kB / 376.6 MB, free: 3.055 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.0004525/0.1015, allocations: 351.3 kB / 377 MB, free: 2.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1015, allocations: 12.03 kB / 377 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.019e-05/0.1016, allocations: 30.75 kB / 377 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.1016, allocations: 0.9375 kB / 377 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1018, allocations: 168.3 kB / 377.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1018, allocations: 12.36 kB / 377.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1018, allocations: 4.375 kB / 377.2 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.738e-05/0.1019, allocations: 34.27 kB / 377.2 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1019, allocations: 3.938 kB / 377.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1019, allocations: 7.922 kB / 377.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1019, allocations: 0 / 377.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.102, allocations: 4 kB / 377.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.1024, allocations: 253 kB / 377.5 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.1025, allocations: 26.52 kB / 377.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.1025, allocations: 12.92 kB / 377.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.1025, allocations: 7.922 kB / 377.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.1027, allocations: 51.39 kB / 377.6 MB, free: 1.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.1027, allocations: 3.938 kB / 377.6 MB, free: 1.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001771/0.1029, allocations: 57.64 kB / 377.7 MB, free: 1.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.1029, allocations: 59.41 kB / 377.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.103, allocations: 105.8 kB / 377.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.103, allocations: 25.7 kB / 377.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.1031, allocations: 88.08 kB / 377.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.1031, allocations: 4.797 kB / 377.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.1032, allocations: 17.72 kB / 378 MB, free: 1.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1033, allocations: 318.8 kB / 378.3 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/0.1033, allocations: 8 kB / 378.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.1034, allocations: 21.72 kB / 378.3 MB, free: 1.164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.282e-05/0.1034, allocations: 33.64 kB / 378.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1034, allocations: 0 / 378.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.656e-05/0.1035, allocations: 57.62 kB / 378.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1036, allocations: 4 kB / 378.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1036, allocations: 0 / 378.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1036, allocations: 4 kB / 378.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.1037, allocations: 4.031 kB / 378.4 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1037, allocations: 7.938 kB / 378.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.1037, allocations: 7.953 kB / 378.4 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1037, allocations: 3.984 kB / 378.4 MB, free: 1.031 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 9.39e-05/0.1038, allocations: 129.6 kB / 378.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.1038, allocations: 0 / 378.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.1039, allocations: 3.906 kB / 378.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1039, allocations: 4 kB / 378.6 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1039, allocations: 0 / 378.6 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1039, allocations: 4 kB / 378.6 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.1042, allocations: 286.6 kB / 378.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1042, allocations: 384 / 378.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-05/0.1042, allocations: 7.938 kB / 378.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1042, allocations: 0 / 378.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1042, allocations: 4 kB / 378.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1042, allocations: 0 / 378.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1042, allocations: 0 / 378.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.1044, allocations: 151.4 kB / 379 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.1044, allocations: 85.06 kB / 379.1 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1045, allocations: 4.312 kB / 379.1 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-05/0.1045, allocations: 4 kB / 379.1 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.1045, allocations: 0 / 379.1 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1045, allocations: 4 kB / 379.1 MB, free: 260 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.633e-05/0.1046, allocations: 83.22 kB / 379.2 MB, free: 176 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1046, allocations: 0 / 379.2 MB, free: 176 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1049, allocations: 27.92 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.173/0.2779, allocations: 0.7739 MB / 380 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.2781, allocations: 25.16 kB / 380 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2781, allocations: 0 / 380 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.2781, allocations: 8.188 kB / 380 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.2784, allocations: 2 kB / 380 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008488/0.2793, allocations: 1.239 MB / 381.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.802e-05/0.2794, allocations: 0.6782 MB / 381.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.723e-05/0.2794, allocations: 8.906 kB / 381.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.2795, allocations: 14.91 kB / 382 MB, free: 10.25 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2795, allocations: 0 / 382 MB, free: 10.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.3041, allocations: 1.923 MB / 383.9 MB, free: 9.719 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.418, allocations: 19.42 kB / 383.9 MB, free: 9.703 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