Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",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.0009067/0.0009069, allocations: 89.39 kB / 16.32 MB, free: 6.453 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.0007916/0.0007916, allocations: 176.2 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.0002473, allocations: 4.656 kB / 300.9 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.132, allocations: 50.42 MB / 351.3 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001528/0.1336, allocations: 1.262 MB / 352.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007764/0.1344, allocations: 495.8 kB / 353.1 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.1345, allocations: 4 kB / 353.1 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.1345, allocations: 7.922 kB / 353.1 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.411e-05/0.1346, allocations: 3.938 kB / 353.1 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.1348, allocations: 43.89 kB / 353.2 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.387e-05/0.1349, allocations: 43.86 kB / 353.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.135, allocations: 15.98 kB / 353.2 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.509e-05/0.135, allocations: 19.86 kB / 353.2 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.1351, allocations: 23.86 kB / 353.3 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1351, allocations: 0 / 353.3 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1353, allocations: 35.95 kB / 353.3 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.1353, allocations: 15.94 kB / 353.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.1353, allocations: 29.7 kB / 353.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1354, allocations: 51.89 kB / 353.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1355, allocations: 4 kB / 353.4 MB, free: 1.633 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1355, allocations: 0 / 353.4 MB, free: 1.633 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1355, allocations: 0 / 353.4 MB, free: 1.633 MB / 286.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.0003955/0.1359, allocations: 375.3 kB / 353.8 MB, free: 1.219 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1359, allocations: 8.031 kB / 353.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.398e-05/0.136, allocations: 46.45 kB / 353.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/0.1363, allocations: 55.8 kB / 353.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.1365, allocations: 167 kB / 354 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.1365, allocations: 4 kB / 354 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1365, allocations: 8 kB / 354 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.1367, allocations: 105.5 kB / 354.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1367, allocations: 0 / 354.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1368, allocations: 11.95 kB / 354.1 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1368, allocations: 0 / 354.1 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.137, allocations: 83.89 kB / 354.2 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.1376, allocations: 372.4 kB / 354.6 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1378, allocations: 86.53 kB / 354.7 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.936e-05/0.1379, allocations: 36.97 kB / 354.7 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1379, allocations: 11.98 kB / 354.7 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1379, allocations: 30.56 kB / 354.8 MB, free: 88 kB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.138, allocations: 4 kB / 354.8 MB, free: 84 kB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003991/0.1384, allocations: 137.7 kB / 354.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1384, allocations: 51.41 kB / 354.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/0.1385, allocations: 122.1 kB / 355.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1385, allocations: 29.7 kB / 355.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.1386, allocations: 99.94 kB / 355.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.1386, allocations: 19.75 kB / 355.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.1386, allocations: 7.938 kB / 355.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.1387, allocations: 322.8 kB / 355.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/0.1388, allocations: 27.98 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.1389, allocations: 39.97 kB / 355.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.711e-05/0.139, allocations: 31.98 kB / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.139, allocations: 0 / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000233/0.1392, allocations: 109.5 kB / 355.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1393, allocations: 6.969 kB / 355.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1393, allocations: 0 / 355.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1393, allocations: 0 / 355.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1394, allocations: 23.97 kB / 355.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1395, allocations: 3.984 kB / 355.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.1395, allocations: 16 kB / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1396, allocations: 3.984 kB / 355.8 MB, free: 15 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.114e-05/0.1396, allocations: 117.8 kB / 355.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.1397, allocations: 7.906 kB / 355.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.14, allocations: 125.5 kB / 356 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.14, allocations: 4 kB / 356 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.14, allocations: 0 / 356 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.14, allocations: 0 / 356 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.1402, allocations: 193.6 kB / 356.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1402, allocations: 4 kB / 356.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.1403, allocations: 24.48 kB / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1403, allocations: 7.938 kB / 356.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1403, allocations: 0 / 356.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1403, allocations: 0 / 356.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1403, allocations: 4 kB / 356.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.1406, allocations: 211.4 kB / 356.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.1407, allocations: 88.98 kB / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1407, allocations: 0 / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.1408, allocations: 11.98 kB / 356.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1408, allocations: 8 kB / 356.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1408, allocations: 3.984 kB / 356.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.998e-05/0.1409, allocations: 98.41 kB / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1409, allocations: 0 / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1411, allocations: 11.91 kB / 356.7 MB, free: 13.99 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.000644/0.1418, allocations: 0.7865 MB / 357.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.142, allocations: 79.94 kB / 357.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.142, allocations: 0 / 357.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1421, allocations: 39.97 kB / 357.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1424, allocations: 7.938 kB / 357.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.1435, allocations: 0.6204 MB / 358.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.1438, allocations: 0.6965 MB / 358.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.5e-05/0.1438, allocations: 4 kB / 358.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.1439, allocations: 31.42 kB / 359 MB, free: 11.62 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1439, allocations: 0 / 359 MB, free: 11.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.1575, allocations: 1.655 MB / 360.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.1578, allocations: 174.6 kB / 360.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/1.983, allocations: 0 / 360.8 MB, free: 9.848 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat does not exist to compare? outputFormat=mat