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.001333/0.001333, allocations: 96.84 kB / 16.96 MB, free: 6.16 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.001219/0.00122, allocations: 181.9 kB / 17.84 MB, free: 5.742 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.781/1.781, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004922/0.0004923, allocations: 12 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1103, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002018/0.1124, allocations: 1.077 MB / 329.5 MB, free: 2.906 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008376/0.1133, allocations: 336.8 kB / 329.9 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.1134, allocations: 0 / 329.9 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.1134, allocations: 3.938 kB / 329.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.057e-05/0.1135, allocations: 0 / 329.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.114, allocations: 71.81 kB / 329.9 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.709e-05/0.1141, allocations: 19.97 kB / 329.9 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.1142, allocations: 0 / 329.9 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.1142, allocations: 7.938 kB / 330 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.24e-05/0.1143, allocations: 15.86 kB / 330 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1143, allocations: 4 kB / 330 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.1145, allocations: 71.92 kB / 330 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.1145, allocations: 4 kB / 330 MB, free: 2.379 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.1146, allocations: 29.64 kB / 330.1 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1147, allocations: 63.89 kB / 330.1 MB, free: 2.281 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1148, allocations: 0 / 330.1 MB, free: 2.281 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1148, allocations: 0 / 330.1 MB, free: 2.281 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1148, allocations: 0 / 330.1 MB, free: 2.281 MB / 270.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.0005812/0.1154, allocations: 343.5 kB / 330.5 MB, free: 1.898 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.1154, allocations: 8.031 kB / 330.5 MB, free: 1.891 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.179e-05/0.1155, allocations: 34.56 kB / 330.5 MB, free: 1.848 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.1156, allocations: 11.84 kB / 330.5 MB, free: 1.836 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.1157, allocations: 167 kB / 330.7 MB, free: 1.633 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1158, allocations: 0 / 330.7 MB, free: 1.633 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.1158, allocations: 7.953 kB / 330.7 MB, free: 1.625 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1159, allocations: 33.7 kB / 330.7 MB, free: 1.586 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1159, allocations: 0 / 330.7 MB, free: 1.586 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1159, allocations: 7.922 kB / 330.7 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.116, allocations: 0 / 330.7 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.116, allocations: 7.938 kB / 330.7 MB, free: 1.57 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.1165, allocations: 260.9 kB / 331 MB, free: 1.266 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.315e-05/0.1165, allocations: 18.58 kB / 331 MB, free: 1.238 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.1166, allocations: 12.92 kB / 331 MB, free: 1.223 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.1166, allocations: 0 / 331 MB, free: 1.223 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.1168, allocations: 67.31 kB / 331.1 MB, free: 1.145 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1168, allocations: 0 / 331.1 MB, free: 1.145 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002132/0.117, allocations: 49.69 kB / 331.1 MB, free: 1.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.1171, allocations: 55.41 kB / 331.2 MB, free: 1.023 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.1172, allocations: 105.8 kB / 331.3 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1172, allocations: 29.7 kB / 331.3 MB, free: 0.875 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.1172, allocations: 84.14 kB / 331.4 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.1173, allocations: 3.906 kB / 331.4 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.1173, allocations: 4 kB / 331.4 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1174, allocations: 318.8 kB / 331.7 MB, free: 472 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.1174, allocations: 11.92 kB / 331.7 MB, free: 460 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.1175, allocations: 17.72 kB / 331.8 MB, free: 436 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.1175, allocations: 11.95 kB / 331.8 MB, free: 424 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1175, allocations: 0 / 331.8 MB, free: 424 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.643e-05/0.1176, allocations: 53.69 kB / 331.8 MB, free: 364 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1176, allocations: 11.94 kB / 331.8 MB, free: 352 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1177, allocations: 8.344 kB / 331.8 MB, free: 344 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1177, allocations: 3.984 kB / 331.9 MB, free: 340 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.1178, allocations: 8 kB / 331.9 MB, free: 332 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1178, allocations: 4 kB / 331.9 MB, free: 328 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.1178, allocations: 0 / 331.9 MB, free: 328 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.1178, allocations: 4 kB / 331.9 MB, free: 324 kB / 270.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,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.461e-05/0.1179, allocations: 109.8 kB / 332 MB, free: 204 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.1179, allocations: 7.906 kB / 332 MB, free: 196 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.118, allocations: 15.89 kB / 332 MB, free: 176 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.118, allocations: 0 / 332 MB, free: 176 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.118, allocations: 0 / 332 MB, free: 176 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.118, allocations: 0 / 332 MB, free: 176 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.1183, allocations: 286.5 kB / 332.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1183, allocations: 0 / 332.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.1183, allocations: 0 / 332.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.1183, allocations: 7.938 kB / 332.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1183, allocations: 0 / 332.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1183, allocations: 3.984 kB / 332.3 MB, free: 15.82 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1183, allocations: 4 kB / 332.3 MB, free: 15.82 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.1185, allocations: 147.5 kB / 332.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.1185, allocations: 77.11 kB / 332.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1185, allocations: 0 / 332.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.922e-05/0.1186, allocations: 0 / 332.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.1186, allocations: 7.938 kB / 332.5 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1187, allocations: 3.984 kB / 332.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.804e-05/0.1187, allocations: 83.28 kB / 332.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1187, allocations: 4 kB / 332.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.119, allocations: 28 kB / 332.6 MB, free: 15.44 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008121/0.1198, allocations: 0.7875 MB / 333.4 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.1199, allocations: 23.92 kB / 333.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.12, allocations: 0 / 333.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.12, allocations: 8 kB / 333.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.1202, allocations: 0 / 333.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.1209, allocations: 391.5 kB / 333.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1212, allocations: 0.6808 MB / 334.5 MB, free: 13.47 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.937e-05/0.1213, allocations: 7.984 kB / 334.5 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.1213, allocations: 11.44 kB / 334.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1213, allocations: 4 kB / 334.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.1363, allocations: 1.689 MB / 336.2 MB, free: 11.76 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/0.1366, allocations: 235 kB / 336.5 MB, free: 11.51 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.11, allocations: 3.938 kB / 336.5 MB, free: 11.51 MB / 286.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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat