Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 96.28 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 192.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.0003009, allocations: 4 kB / 306.8 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1208, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001991/0.1228, allocations: 1.283 MB / 359.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009456/0.1238, allocations: 0.5186 MB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.1239, allocations: 4 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.1239, allocations: 7.922 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.124, allocations: 3.938 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1243, allocations: 39.89 kB / 360.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.1244, allocations: 43.86 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1245, allocations: 31.89 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.1245, allocations: 15.88 kB / 360.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.62e-05/0.1246, allocations: 27.84 kB / 360.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1246, allocations: 0 / 360.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.1248, allocations: 47.95 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.1249, allocations: 11.94 kB / 360.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.1249, allocations: 25.7 kB / 360.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.125, allocations: 59.89 kB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.125, allocations: 0 / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.125, allocations: 4 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.125, allocations: 0 / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000425/0.1255, allocations: 371.4 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.1255, allocations: 12.03 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.752e-05/0.1256, allocations: 42.41 kB / 360.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004392/0.1261, allocations: 63.84 kB / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1262, allocations: 167 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.1262, allocations: 4 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.1263, allocations: 11.95 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.1265, allocations: 109.5 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1265, allocations: 4 kB / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1265, allocations: 0 / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1266, allocations: 0 / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.1268, allocations: 83.89 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.1275, allocations: 376.4 kB / 361.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.1277, allocations: 82.53 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1278, allocations: 32.97 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1278, allocations: 7.984 kB / 361.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1279, allocations: 38.56 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.1279, allocations: 0 / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004161/0.1283, allocations: 141.7 kB / 361.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1283, allocations: 51.41 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1284, allocations: 126.1 kB / 362.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1285, allocations: 25.7 kB / 362.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.1285, allocations: 103.9 kB / 362.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1286, allocations: 11.75 kB / 362.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.1286, allocations: 4 kB / 362.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1287, allocations: 322.8 kB / 362.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.412e-05/0.1288, allocations: 31.98 kB / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.228e-05/0.1289, allocations: 31.97 kB / 362.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.128e-05/0.129, allocations: 31.98 kB / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.129, allocations: 0 / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002337/0.1292, allocations: 105.5 kB / 362.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1293, allocations: 15.94 kB / 362.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1293, allocations: 0 / 362.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1293, allocations: 0 / 362.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1294, allocations: 27.92 kB / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1294, allocations: 0 / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.1295, allocations: 19.98 kB / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1295, allocations: 0 / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.716e-05/0.1296, allocations: 117.8 kB / 362.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.1297, allocations: 3.906 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.13, allocations: 125.5 kB / 363.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.13, allocations: 0 / 363.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.13, allocations: 7.891 kB / 363.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.13, allocations: 0 / 363.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.1302, allocations: 197.6 kB / 363.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1302, allocations: 0 / 363.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1303, allocations: 19.98 kB / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1303, allocations: 0 / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1303, allocations: 4 kB / 363.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1304, allocations: 4 kB / 363.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1304, allocations: 0.5 kB / 363.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.1307, allocations: 223.3 kB / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.1307, allocations: 85.05 kB / 363.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.1307, allocations: 0 / 363.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1308, allocations: 11.98 kB / 363.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.1309, allocations: 4 kB / 363.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1309, allocations: 3.984 kB / 363.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.628e-05/0.1309, allocations: 102.9 kB / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.131, allocations: 0 / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.1312, allocations: 19.86 kB / 363.7 MB, free: 8.199 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0006873/0.1319, allocations: 0.7749 MB / 364.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1321, allocations: 79.94 kB / 364.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1321, allocations: 4 kB / 364.6 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.96e-05/0.1322, allocations: 35.97 kB / 364.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1325, allocations: 14.28 kB / 364.6 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1336, allocations: 0.6242 MB / 365.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1339, allocations: 0.7043 MB / 366 MB, free: 5.859 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.828e-05/0.134, allocations: 4 kB / 366 MB, free: 5.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.134, allocations: 27.48 kB / 366 MB, free: 5.828 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.134, allocations: 4 kB / 366 MB, free: 5.824 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.1456, allocations: 1.635 MB / 367.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.1458, allocations: 177 kB / 367.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.014, allocations: 0 / 367.8 MB, free: 4.062 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat does not exist to compare? outputFormat=mat