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.001208/0.001208, allocations: 101.5 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.001231/0.001231, allocations: 192 kB / 18.66 MB, free: 4.441 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.506/1.506, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001359/0.001359, allocations: 51.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.1005, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002714/0.1032, allocations: 1.324 MB / 376 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000886/0.1041, allocations: 363.7 kB / 376.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.1042, allocations: 7.938 kB / 376.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.1043, allocations: 0 / 376.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.145e-05/0.1044, allocations: 3.938 kB / 376.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.1049, allocations: 83.72 kB / 376.4 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.105, allocations: 12 kB / 376.4 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.105, allocations: 3.984 kB / 376.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.711e-05/0.1051, allocations: 8 kB / 376.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.532e-05/0.1051, allocations: 11.88 kB / 376.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1051, allocations: 0 / 376.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.1053, allocations: 87.91 kB / 376.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.1054, allocations: 3.984 kB / 376.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.1054, allocations: 15.94 kB / 376.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1056, allocations: 91.8 kB / 376.6 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1056, allocations: 0 / 376.6 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.609e-06/0.1056, allocations: 0 / 376.6 MB, free: 3.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1056, allocations: 3.938 kB / 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.0004577/0.1061, allocations: 343.7 kB / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1062, allocations: 15.91 kB / 377 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.1062, allocations: 34.75 kB / 377 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.1063, allocations: 0.9375 kB / 377 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1064, allocations: 184.2 kB / 377.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1064, allocations: 4.375 kB / 377.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1064, allocations: 384 / 377.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1065, allocations: 38.25 kB / 377.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1066, allocations: 3.938 kB / 377.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1066, allocations: 0 / 377.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1066, allocations: 0 / 377.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/0.1066, allocations: 8 kB / 377.3 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.107, allocations: 248.9 kB / 377.5 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.072e-05/0.1071, allocations: 34.52 kB / 377.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.1071, allocations: 12.91 kB / 377.6 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.1071, allocations: 0 / 377.6 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.1073, allocations: 55.34 kB / 377.6 MB, free: 1.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1073, allocations: 3.938 kB / 377.6 MB, free: 1.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001677/0.1075, allocations: 49.69 kB / 377.7 MB, free: 1.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.1075, allocations: 55.41 kB / 377.7 MB, free: 1.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.1076, allocations: 113.8 kB / 377.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1076, allocations: 25.7 kB / 377.9 MB, free: 1.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.1077, allocations: 84.14 kB / 377.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.1077, allocations: 8.75 kB / 377.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.1077, allocations: 17.7 kB / 378 MB, free: 1.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1079, allocations: 314.8 kB / 378.3 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.1079, allocations: 8 kB / 378.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.1079, allocations: 25.7 kB / 378.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/0.108, allocations: 33.59 kB / 378.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.108, allocations: 0 / 378.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001002/0.1081, allocations: 57.62 kB / 378.4 MB, free: 1.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1081, allocations: 4 kB / 378.4 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1081, allocations: 384 / 378.4 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1082, allocations: 0 / 378.4 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.1082, allocations: 16.02 kB / 378.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1083, allocations: 4 kB / 378.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.1083, allocations: 4 kB / 378.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1083, allocations: 4 kB / 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 0.0001053/0.1084, allocations: 113.7 kB / 378.5 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.1084, allocations: 11.84 kB / 378.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.1085, allocations: 8.141 kB / 378.6 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1085, allocations: 0 / 378.6 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1085, allocations: 3.984 kB / 378.6 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1085, allocations: 7.984 kB / 378.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.1087, allocations: 286.5 kB / 378.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1088, allocations: 0 / 378.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.517e-05/0.1088, allocations: 7.938 kB / 378.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1088, allocations: 0 / 378.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1088, allocations: 0 / 378.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1088, allocations: 0 / 378.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1088, allocations: 0 / 378.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.1089, allocations: 159.4 kB / 379 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.109, allocations: 81.05 kB / 379.1 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.109, allocations: 0 / 379.1 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/0.109, allocations: 0 / 379.1 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.1091, allocations: 4 kB / 379.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1091, allocations: 0 / 379.1 MB, free: 284 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.1091, allocations: 91.2 kB / 379.2 MB, free: 192 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1091, allocations: 0 / 379.2 MB, free: 192 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1094, allocations: 24 kB / 379.2 MB, free: 168 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.179/0.2884, allocations: 0.7602 MB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.2886, allocations: 26.61 kB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2886, allocations: 0 / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.094e-05/0.2887, allocations: 11.19 kB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.289, allocations: 1.891 kB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.2899, allocations: 1.234 MB / 381.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.29, allocations: 0.6785 MB / 381.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.372e-05/0.2901, allocations: 5.625 kB / 381.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.2901, allocations: 16.67 kB / 381.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2901, allocations: 0 / 381.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.3108, allocations: 1.954 MB / 383.9 MB, free: 9.75 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/8.004, allocations: 13.55 kB / 383.9 MB, free: 9.738 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