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.001252/0.001252, allocations: 113.2 kB / 17.73 MB, free: 5.336 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.00129/0.00129, allocations: 188.2 kB / 18.67 MB, free: 4.402 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.399/1.399, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001622/0.001622, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08802/0.08965, allocations: 46.63 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002797/0.09249, allocations: 1.332 MB / 376 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007991/0.09332, allocations: 359.7 kB / 376.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.345e-05/0.09339, allocations: 0 / 376.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.09342, allocations: 0 / 376.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.09348, allocations: 3.938 kB / 376.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.09399, allocations: 91.64 kB / 376.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.473e-05/0.09408, allocations: 15.94 kB / 376.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.09413, allocations: 0 / 376.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.09416, allocations: 7.984 kB / 376.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.421e-05/0.09419, allocations: 15.92 kB / 376.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.09421, allocations: 4 kB / 376.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.09441, allocations: 79.91 kB / 376.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.09444, allocations: 8 kB / 376.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.09447, allocations: 3.938 kB / 376.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.09467, allocations: 87.69 kB / 376.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.09468, allocations: 0 / 376.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09469, allocations: 0 / 376.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.09471, allocations: 4 kB / 376.7 MB, free: 3.062 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.0004671/0.09518, allocations: 355.2 kB / 377 MB, free: 2.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.09523, allocations: 12.03 kB / 377 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.745e-05/0.09529, allocations: 30.75 kB / 377 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.09533, allocations: 4.938 kB / 377 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.09547, allocations: 164.3 kB / 377.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.09549, allocations: 4.375 kB / 377.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.0955, allocations: 384 / 377.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.09561, allocations: 38.25 kB / 377.2 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.09563, allocations: 3.938 kB / 377.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.09564, allocations: 0 / 377.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.09566, allocations: 7.938 kB / 377.3 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.09568, allocations: 7.984 kB / 377.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.09611, allocations: 253 kB / 377.5 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.635e-05/0.09617, allocations: 22.52 kB / 377.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.09621, allocations: 12.92 kB / 377.5 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.09623, allocations: 4 kB / 377.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.09638, allocations: 55.34 kB / 377.6 MB, free: 1.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 3.236e-06/0.09639, allocations: 0 / 377.6 MB, free: 1.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001793/0.09657, allocations: 65.56 kB / 377.7 MB, free: 1.859 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.09662, allocations: 51.41 kB / 377.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.09671, allocations: 105.8 kB / 377.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.09673, allocations: 25.7 kB / 377.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.09679, allocations: 84.14 kB / 377.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.09681, allocations: 12.73 kB / 377.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.09685, allocations: 21.72 kB / 378 MB, free: 1.527 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.09699, allocations: 314.8 kB / 378.3 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.09702, allocations: 8 kB / 378.3 MB, free: 1.203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.09706, allocations: 21.72 kB / 378.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.09712, allocations: 33.81 kB / 378.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.09713, allocations: 3.938 kB / 378.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.75e-05/0.09724, allocations: 61.62 kB / 378.4 MB, free: 1.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.09726, allocations: 8 kB / 378.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.09727, allocations: 0 / 378.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.09728, allocations: 0 / 378.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.633e-05/0.09735, allocations: 4 kB / 378.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.09736, allocations: 4 kB / 378.4 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.09738, allocations: 4.328 kB / 378.4 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.09739, allocations: 0 / 378.4 MB, free: 1.047 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.851e-05/0.0975, allocations: 133.6 kB / 378.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.09751, allocations: 4.031 kB / 378.6 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.09755, allocations: 11.91 kB / 378.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.09755, allocations: 0 / 378.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.09756, allocations: 0 / 378.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.09757, allocations: 0 / 378.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.09783, allocations: 290.6 kB / 378.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.09784, allocations: 0 / 378.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.09786, allocations: 0 / 378.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.09786, allocations: 3.938 kB / 378.9 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.09788, allocations: 4 kB / 378.9 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.09788, allocations: 4 kB / 378.9 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.09789, allocations: 0 / 378.9 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.09802, allocations: 147.4 kB / 379 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.09807, allocations: 81.06 kB / 379.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.0981, allocations: 7.984 kB / 379.1 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.09814, allocations: 0 / 379.1 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.09817, allocations: 4 kB / 379.1 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.09819, allocations: 4 kB / 379.1 MB, free: 268 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.09824, allocations: 83.22 kB / 379.2 MB, free: 184 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09825, allocations: 0 / 379.2 MB, free: 184 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.09851, allocations: 31.92 kB / 379.2 MB, free: 152 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.1594/0.2579, allocations: 0.7567 MB / 380 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.258, allocations: 26.12 kB / 380 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.258, allocations: 0 / 380 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.298e-05/0.2581, allocations: 9.703 kB / 380 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.2583, allocations: 2.125 kB / 380 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.2591, allocations: 1.241 MB / 381.2 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.969e-05/0.2592, allocations: 0.6786 MB / 381.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.073e-05/0.2592, allocations: 7.672 kB / 381.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.2593, allocations: 14.58 kB / 381.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2593, allocations: 0 / 381.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.2835, allocations: 1.939 MB / 383.9 MB, free: 9.738 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.037, allocations: 13.11 kB / 383.9 MB, free: 9.727 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.mat","/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