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.001501/0.001501, allocations: 101.6 kB / 17.72 MB, free: 5.371 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.001714/0.001714, allocations: 188.1 kB / 18.66 MB, free: 4.445 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.464/1.464, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001355/0.001355, allocations: 51.94 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09285, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002819/0.09571, allocations: 1.324 MB / 376 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009779/0.09672, allocations: 363.6 kB / 376.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.0968, allocations: 4 kB / 376.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.09686, allocations: 0 / 376.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.336e-05/0.09694, allocations: 3.938 kB / 376.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.09753, allocations: 79.73 kB / 376.4 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.143e-05/0.09763, allocations: 15.98 kB / 376.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.09769, allocations: 15.86 kB / 376.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.383e-05/0.09773, allocations: 4 kB / 376.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.774e-05/0.09776, allocations: 7.922 kB / 376.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.09778, allocations: 4 kB / 376.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.09803, allocations: 79.92 kB / 376.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.09806, allocations: 11.98 kB / 376.5 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.0981, allocations: 7.938 kB / 376.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.09837, allocations: 87.81 kB / 376.6 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.09839, allocations: 0 / 376.6 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.09839, allocations: 3.938 kB / 376.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.09841, allocations: 0 / 376.6 MB, free: 3.074 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.0005241/0.09894, allocations: 355.6 kB / 377 MB, free: 2.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.099, allocations: 8.031 kB / 377 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.229e-05/0.09908, allocations: 34.75 kB / 377 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.09913, allocations: 8.938 kB / 377 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.09927, allocations: 164.3 kB / 377.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.09929, allocations: 384 / 377.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.09931, allocations: 4.375 kB / 377.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.09943, allocations: 38.25 kB / 377.2 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.09945, allocations: 3.938 kB / 377.2 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.09947, allocations: 3.984 kB / 377.2 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.09948, allocations: 0 / 377.2 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.727e-05/0.09951, allocations: 7.938 kB / 377.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.09995, allocations: 253 kB / 377.5 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.358e-05/0.1, allocations: 30.5 kB / 377.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.1001, allocations: 8.922 kB / 377.5 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.1001, allocations: 4 kB / 377.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.1003, allocations: 51.34 kB / 377.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 3.306e-06/0.1003, allocations: 0 / 377.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.00018/0.1005, allocations: 65.62 kB / 377.7 MB, free: 1.871 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1005, allocations: 55.39 kB / 377.7 MB, free: 1.805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/0.1006, allocations: 105.8 kB / 377.8 MB, free: 1.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1006, allocations: 25.7 kB / 377.8 MB, free: 1.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.1007, allocations: 88.12 kB / 377.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.1007, allocations: 12.73 kB / 377.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1007, allocations: 17.72 kB / 378 MB, free: 1.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1008, allocations: 318.8 kB / 378.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.1009, allocations: 8 kB / 378.3 MB, free: 1.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.1009, allocations: 17.66 kB / 378.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.101, allocations: 37.64 kB / 378.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.101, allocations: 0 / 378.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.422e-05/0.1011, allocations: 57.62 kB / 378.4 MB, free: 1.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1011, allocations: 7.938 kB / 378.4 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1011, allocations: 4.406 kB / 378.4 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1011, allocations: 4 kB / 378.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.1012, allocations: 4 kB / 378.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1012, allocations: 4 kB / 378.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.1012, allocations: 4 kB / 378.4 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1012, allocations: 0 / 378.4 MB, free: 1.051 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 8.617e-05/0.1013, allocations: 117.7 kB / 378.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.1014, allocations: 11.89 kB / 378.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.1014, allocations: 7.906 kB / 378.6 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1014, allocations: 4 kB / 378.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1014, allocations: 0 / 378.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1014, allocations: 0 / 378.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.1016, allocations: 286.5 kB / 378.8 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1017, allocations: 0 / 378.8 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.684e-05/0.1017, allocations: 3.984 kB / 378.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1017, allocations: 3.938 kB / 378.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1017, allocations: 288 / 378.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1017, allocations: 4 kB / 378.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1017, allocations: 3.984 kB / 378.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.1018, allocations: 155.4 kB / 379 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.1019, allocations: 85.05 kB / 379.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1019, allocations: 0 / 379.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.102, allocations: 0 / 379.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.102, allocations: 3.984 kB / 379.1 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.102, allocations: 4 kB / 379.1 MB, free: 276 kB / 318.1 MB Notification: Performance of sorting global known variables: time 4.743e-05/0.1021, allocations: 87.22 kB / 379.2 MB, free: 188 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1021, allocations: 0 / 379.2 MB, free: 188 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1024, allocations: 35.98 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.1796/0.282, allocations: 0.7474 MB / 380 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.2822, allocations: 25.3 kB / 380 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2822, allocations: 0 / 380 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.2822, allocations: 10.2 kB / 380 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.2825, allocations: 2.047 kB / 380 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009182/0.2834, allocations: 1.244 MB / 381.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.2835, allocations: 0.6775 MB / 381.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.2836, allocations: 9.391 kB / 381.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.2836, allocations: 9.484 kB / 381.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2836, allocations: 0 / 381.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.3028, allocations: 1.954 MB / 383.9 MB, free: 9.73 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.263, allocations: 12.92 kB / 383.9 MB, free: 9.719 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