Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",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.0009221/0.0009228, allocations: 101 kB / 16.94 MB, free: 5.98 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.0008616/0.0008617, allocations: 178.1 kB / 17.82 MB, free: 5.652 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.461/1.461, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004321/0.0004323, allocations: 12 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.09321, allocations: 47.58 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001675/0.09492, allocations: 1.25 MB / 329.7 MB, free: 2.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.09712, allocations: 1.381 MB / 331 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.09718, allocations: 0 / 331 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.507e-05/0.09728, allocations: 11.81 kB / 331.1 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.085e-05/0.09737, allocations: 27.89 kB / 331.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/0.09813, allocations: 299.3 kB / 331.4 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.09827, allocations: 87.77 kB / 331.5 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.878e-05/0.09833, allocations: 5.5 kB / 331.5 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.91e-05/0.0984, allocations: 51.77 kB / 331.5 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.09847, allocations: 59.75 kB / 331.6 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.0985, allocations: 8 kB / 331.6 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005924/0.0991, allocations: 427.3 kB / 332 MB, free: 404 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.09916, allocations: 35.83 kB / 332 MB, free: 368 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.09922, allocations: 49.62 kB / 332.1 MB, free: 312 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.09959, allocations: 279.8 kB / 332.4 MB, free: 32 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.0996, allocations: 3.938 kB / 332.4 MB, free: 28 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.09961, allocations: 0 / 332.4 MB, free: 28 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.09962, allocations: 0 / 332.4 MB, free: 28 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007009/0.1003, allocations: 0.4908 MB / 332.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1004, allocations: 12.03 kB / 332.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/0.1004, allocations: 42.45 kB / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.1007, allocations: 31.8 kB / 332.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.1008, allocations: 207.6 kB / 333.1 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1009, allocations: 8 kB / 333.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.1009, allocations: 8 kB / 333.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.1011, allocations: 132.2 kB / 333.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1012, allocations: 0 / 333.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1012, allocations: 3.938 kB / 333.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1012, allocations: 4 kB / 333.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.1014, allocations: 79.88 kB / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.1021, allocations: 0.5633 MB / 333.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.1025, allocations: 160 kB / 334.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.1025, allocations: 0 / 334.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.1028, allocations: 170 kB / 334.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.1028, allocations: 0 / 334.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006104/0.1034, allocations: 427.5 kB / 334.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.1035, allocations: 118.8 kB / 334.8 MB, free: 13.31 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.1036, allocations: 202.8 kB / 335 MB, free: 13.11 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.1037, allocations: 53.67 kB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.1038, allocations: 112.6 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.1038, allocations: 47.45 kB / 335.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.1038, allocations: 4 kB / 335.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1039, allocations: 326.8 kB / 335.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1041, allocations: 103.9 kB / 335.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.1044, allocations: 147.2 kB / 335.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.1046, allocations: 112 kB / 335.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1046, allocations: 0 / 335.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005331/0.1051, allocations: 317.2 kB / 336.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1052, allocations: 4 kB / 336.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1052, allocations: 0 / 336.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1052, allocations: 4 kB / 336.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1054, allocations: 31.98 kB / 336.2 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.1054, allocations: 15.88 kB / 336.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.08e-05/0.1055, allocations: 31.83 kB / 336.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1055, allocations: 4 kB / 336.3 MB, free: 11.78 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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 0.0001588/0.1057, allocations: 153.9 kB / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.1057, allocations: 19.75 kB / 336.4 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.1057, allocations: 17.39 kB / 336.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1057, allocations: 0 / 336.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1058, allocations: 7.938 kB / 336.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1058, allocations: 3.953 kB / 336.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.106, allocations: 217.5 kB / 336.7 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.106, allocations: 0 / 336.7 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.1061, allocations: 15.98 kB / 336.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1061, allocations: 0 / 336.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1061, allocations: 4 kB / 336.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1061, allocations: 0 / 336.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1061, allocations: 0 / 336.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.1065, allocations: 284.9 kB / 337 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.1066, allocations: 92.92 kB / 337.1 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.1066, allocations: 11.98 kB / 337.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.1067, allocations: 11.95 kB / 337.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.1068, allocations: 15.97 kB / 337.1 MB, free: 10.83 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1068, allocations: 4 kB / 337.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1069, allocations: 141.2 kB / 337.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1069, allocations: 0 / 337.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000423/0.1073, allocations: 120 kB / 337.4 MB, free: 10.57 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001497/0.1089, allocations: 1.267 MB / 338.6 MB, free: 9.273 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000426/0.1093, allocations: 211.8 kB / 338.8 MB, free: 9.066 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1093, allocations: 0 / 338.8 MB, free: 9.066 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1095, allocations: 63.97 kB / 338.9 MB, free: 9.004 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.1096, allocations: 8.188 kB / 338.9 MB, free: 8.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.1105, allocations: 1.051 MB / 340 MB, free: 7.879 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.1108, allocations: 0.724 MB / 340.7 MB, free: 7.129 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.1109, allocations: 21.41 kB / 340.7 MB, free: 7.105 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.111, allocations: 55.36 kB / 340.8 MB, free: 7.051 MB / 286.1 MB Notification: Performance of SimCode: time 6.11e-07/0.111, allocations: 0 / 340.8 MB, free: 7.051 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.1266, allocations: 5.126 MB / 345.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/0.1269, allocations: 236.1 kB / 346.1 MB, free: 1.664 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/1.955, allocations: 0 / 346.1 MB, free: 1.664 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat does not exist to compare? outputFormat=mat