Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009897/0.0009899, allocations: 99.55 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009647/0.0009643, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002463/0.0002467, allocations: 4 kB / 306.8 MB, free: 1.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1318, allocations: 51.5 MB / 358.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002345/0.1342, allocations: 1.313 MB / 359.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1354, allocations: 0.5575 MB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-05/0.1355, allocations: 0 / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.1358, allocations: 11.94 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.532e-05/0.1359, allocations: 11.92 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.1362, allocations: 51.83 kB / 360.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.1363, allocations: 59.83 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1364, allocations: 19.97 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1366, allocations: 31.86 kB / 360.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1367, allocations: 27.84 kB / 360.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1367, allocations: 4 kB / 360.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.754e-05/0.1368, allocations: 4 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.1369, allocations: 11.98 kB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.1369, allocations: 37.64 kB / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.1371, allocations: 51.84 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.1371, allocations: 7.922 kB / 360.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1371, allocations: 0 / 360.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1371, allocations: 4 kB / 360.5 MB, free: 11.75 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005247/0.1377, allocations: 378 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.1377, allocations: 12.03 kB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.1378, allocations: 34.56 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.1379, allocations: 19.89 kB / 360.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1382, allocations: 198.4 kB / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.1382, allocations: 4 kB / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1383, allocations: 7.953 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.1387, allocations: 161.7 kB / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1387, allocations: 0 / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.1387, allocations: 0 / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1387, allocations: 4 kB / 361.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1389, allocations: 39.92 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.1394, allocations: 278.6 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1395, allocations: 87.83 kB / 361.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.1396, allocations: 42.62 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.1397, allocations: 4 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.1397, allocations: 38.5 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.1397, allocations: 0 / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003244/0.14, allocations: 109.5 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.1402, allocations: 110.8 kB / 362 MB, free: 10 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1403, allocations: 146.6 kB / 362.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1403, allocations: 29.7 kB / 362.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.1404, allocations: 92.14 kB / 362.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.1404, allocations: 11.89 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/0.1404, allocations: 0 / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1406, allocations: 318.8 kB / 362.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.1406, allocations: 23.92 kB / 362.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.678e-05/0.1407, allocations: 69.88 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/0.1408, allocations: 31.94 kB / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1408, allocations: 4 kB / 362.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002215/0.1411, allocations: 109.4 kB / 362.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.1411, allocations: 8 kB / 362.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1411, allocations: 0 / 362.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1412, allocations: 4 kB / 362.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1413, allocations: 20.2 kB / 362.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1413, allocations: 0 / 362.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.1414, allocations: 12.25 kB / 362.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1414, allocations: 7.984 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (fractionalDelay.first,$CLKPRE.fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001412/0.1415, allocations: 133.7 kB / 363 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1416, allocations: 69.59 kB / 363.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.1417, allocations: 12.31 kB / 363.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1417, allocations: 3.938 kB / 363.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1417, allocations: 8.031 kB / 363.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1417, allocations: 0 / 363.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.142, allocations: 177.5 kB / 363.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.142, allocations: 3.953 kB / 363.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-05/0.142, allocations: 15.98 kB / 363.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1421, allocations: 0 / 363.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1421, allocations: 4 kB / 363.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1421, allocations: 4 kB / 363.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1421, allocations: 0 / 363.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1424, allocations: 205.1 kB / 363.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.1424, allocations: 96.95 kB / 363.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1425, allocations: 4 kB / 363.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.1425, allocations: 4 kB / 363.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1426, allocations: 8 kB / 363.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1426, allocations: 3.984 kB / 363.6 MB, free: 8.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.941e-05/0.1427, allocations: 111.4 kB / 363.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1427, allocations: 0 / 363.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004367/0.1432, allocations: 12 kB / 363.7 MB, free: 8.113 MB / 302.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: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006907/0.1439, allocations: 0.7726 MB / 364.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.1441, allocations: 56.34 kB / 364.6 MB, free: 7.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.1441, allocations: 8.062 kB / 364.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.643e-05/0.1441, allocations: 12.11 kB / 364.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.1446, allocations: 43.89 kB / 364.6 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1457, allocations: 0.6406 MB / 365.3 MB, free: 6.469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.146, allocations: 0.7005 MB / 366 MB, free: 5.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.966e-05/0.1461, allocations: 8.656 kB / 366 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.1461, allocations: 19.44 kB / 366 MB, free: 5.715 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1462, allocations: 4 kB / 366 MB, free: 5.711 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.162, allocations: 1.809 MB / 367.8 MB, free: 4.094 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004498/0.1625, allocations: 197.4 kB / 368 MB, free: 3.855 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.149, allocations: 0 / 368 MB, free: 3.855 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat does not exist to compare? outputFormat=mat