Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 107.6 kB / 16.92 MB, free: 5.668 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.001444/0.001444, allocations: 189.4 kB / 17.85 MB, free: 5.176 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.348/1.348, allocations: 222.9 MB / 241.5 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 50.45 kB / 300.7 MB, free: 5.715 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1257, allocations: 49.44 MB / 350.2 MB, free: 4.266 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.004722/0.1305, allocations: 1.591 MB / 351.8 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1321, allocations: 0.5493 MB / 352.3 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.1324, allocations: 3.938 kB / 352.3 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.1328, allocations: 11.88 kB / 352.3 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.1329, allocations: 15.86 kB / 352.3 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.1334, allocations: 67.73 kB / 352.4 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.1336, allocations: 67.78 kB / 352.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1338, allocations: 16 kB / 352.5 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.134, allocations: 31.84 kB / 352.5 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.1341, allocations: 31.84 kB / 352.5 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.1342, allocations: 4 kB / 352.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.079e-05/0.1342, allocations: 4 kB / 352.6 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.384e-05/0.1343, allocations: 19.92 kB / 352.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.505e-05/0.1344, allocations: 31.8 kB / 352.6 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1346, allocations: 67.72 kB / 352.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1346, allocations: 0 / 352.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1346, allocations: 4 kB / 352.7 MB, free: 1.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1346, allocations: 4 kB / 352.7 MB, free: 1.727 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007946/0.1354, allocations: 391.3 kB / 353.1 MB, free: 1.297 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.1355, allocations: 8.031 kB / 353.1 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.1356, allocations: 42.69 kB / 353.1 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.1356, allocations: 8.844 kB / 353.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.136, allocations: 200.6 kB / 353.3 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.136, allocations: 384 / 353.3 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.136, allocations: 11.94 kB / 353.3 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.1365, allocations: 149.8 kB / 353.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1366, allocations: 4 kB / 353.5 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1366, allocations: 0 / 353.5 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1366, allocations: 0 / 353.5 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.1368, allocations: 35.92 kB / 353.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.1373, allocations: 286.5 kB / 353.8 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1375, allocations: 91.81 kB / 353.9 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.1377, allocations: 42.62 kB / 353.9 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1377, allocations: 0 / 353.9 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.1377, allocations: 42.44 kB / 354 MB, free: 228 kB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1377, allocations: 0 / 354 MB, free: 228 kB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004659/0.1382, allocations: 109.7 kB / 354.1 MB, free: 112 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.1384, allocations: 110.9 kB / 354.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1386, allocations: 147.2 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1386, allocations: 25.7 kB / 354.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.1387, allocations: 92.12 kB / 354.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.1387, allocations: 15.89 kB / 354.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.1388, allocations: 25.97 kB / 354.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.139, allocations: 318.8 kB / 354.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.058e-05/0.1391, allocations: 23.98 kB / 354.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1392, allocations: 57.94 kB / 354.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.1394, allocations: 81.94 kB / 355 MB, free: 15.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1394, allocations: 0 / 355 MB, free: 15.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002966/0.1397, allocations: 109.4 kB / 355.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1398, allocations: 10.97 kB / 355.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.1398, allocations: 192 / 355.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.1398, allocations: 4 kB / 355.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.14, allocations: 19.92 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.14, allocations: 0 / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.124e-05/0.1401, allocations: 11.94 kB / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.1401, allocations: 8.219 kB / 355.1 MB, free: 14.96 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 ($CLKPRE.fractionalDelay.first,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002916/0.1404, allocations: 129.7 kB / 355.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.1406, allocations: 77.44 kB / 355.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.1407, allocations: 12.31 kB / 355.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1407, allocations: 0 / 355.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1407, allocations: 0 / 355.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1407, allocations: 7.938 kB / 355.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.141, allocations: 173.6 kB / 355.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.141, allocations: 0 / 355.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.1411, allocations: 16.02 kB / 355.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.1411, allocations: 4 kB / 355.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1412, allocations: 4 kB / 355.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1412, allocations: 0 / 355.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1412, allocations: 4 kB / 355.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.1416, allocations: 197 kB / 355.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.895e-05/0.1417, allocations: 100.9 kB / 355.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1417, allocations: 0 / 355.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.1419, allocations: 8 kB / 355.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.1419, allocations: 3.938 kB / 355.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.142, allocations: 12.05 kB / 355.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.1421, allocations: 108.6 kB / 356 MB, free: 14.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1421, allocations: 0 / 356 MB, free: 14.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.1425, allocations: 12 kB / 356 MB, free: 14 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008436/0.1434, allocations: 0.7608 MB / 356.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.1437, allocations: 68.28 kB / 356.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1437, allocations: 0 / 356.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.1437, allocations: 11.92 kB / 356.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.1443, allocations: 43.95 kB / 356.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.1467, allocations: 1.544 MB / 358.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1471, allocations: 0.7041 MB / 359.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.497e-05/0.1472, allocations: 8.656 kB / 359.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.1473, allocations: 27.42 kB / 359.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1473, allocations: 0 / 359.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.1748, allocations: 2.023 MB / 361.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/7.906, allocations: 7.938 kB / 361.2 MB, free: 8.75 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches