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.001761/0.001761, allocations: 113.3 kB / 16.63 MB, free: 6.812 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.001826/0.001827, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.417/1.417, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 46.86 kB / 300.2 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.142, allocations: 49.44 MB / 349.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.004949/0.147, allocations: 1.647 MB / 351.3 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1485, allocations: 0.5415 MB / 351.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1487, allocations: 3.938 kB / 351.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.1492, allocations: 11.88 kB / 351.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.1494, allocations: 19.91 kB / 351.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.1498, allocations: 52.77 kB / 352 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.15, allocations: 63.78 kB / 352 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1501, allocations: 16 kB / 352 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.1503, allocations: 35.84 kB / 352.1 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1505, allocations: 35.84 kB / 352.1 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.1506, allocations: 4 kB / 352.1 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.879e-05/0.1506, allocations: 4 kB / 352.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1507, allocations: 23.91 kB / 352.1 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.1508, allocations: 27.75 kB / 352.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.151, allocations: 71.72 kB / 352.2 MB, free: 1.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.151, allocations: 4 kB / 352.2 MB, free: 1.859 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.151, allocations: 0 / 352.2 MB, free: 1.859 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.151, allocations: 0 / 352.2 MB, free: 1.859 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.0007025/0.1517, allocations: 391.3 kB / 352.6 MB, free: 1.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.1518, allocations: 12.03 kB / 352.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.1518, allocations: 34.75 kB / 352.7 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.1519, allocations: 8.844 kB / 352.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.1522, allocations: 192.7 kB / 352.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.1522, allocations: 12.38 kB / 352.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1523, allocations: 11.94 kB / 352.9 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.1527, allocations: 153.8 kB / 353 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1527, allocations: 0 / 353 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1528, allocations: 0 / 353 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1528, allocations: 4 kB / 353 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.1529, allocations: 35.92 kB / 353.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.1534, allocations: 278.5 kB / 353.4 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1536, allocations: 87.83 kB / 353.4 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.1537, allocations: 46.61 kB / 353.5 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.1538, allocations: 3.938 kB / 353.5 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1538, allocations: 34.56 kB / 353.5 MB, free: 372 kB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 3.456e-06/0.1538, allocations: 0 / 353.5 MB, free: 372 kB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004725/0.1543, allocations: 117.4 kB / 353.6 MB, free: 248 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1544, allocations: 110.8 kB / 353.7 MB, free: 112 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.1547, allocations: 151.2 kB / 353.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1547, allocations: 25.7 kB / 353.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.1548, allocations: 92.14 kB / 354 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.1549, allocations: 7.891 kB / 354 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.93e-05/0.155, allocations: 29.97 kB / 354 MB, free: 15.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002799/0.1553, allocations: 318.8 kB / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.602e-05/0.1553, allocations: 15.98 kB / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.1556, allocations: 62 kB / 354.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1558, allocations: 77.88 kB / 354.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1558, allocations: 0 / 354.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002238/0.156, allocations: 113.4 kB / 354.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1561, allocations: 4 kB / 354.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1561, allocations: 4 kB / 354.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1561, allocations: 0 / 354.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1562, allocations: 19.92 kB / 354.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.1563, allocations: 4 kB / 354.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/0.1563, allocations: 8.156 kB / 354.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1563, allocations: 8 kB / 354.7 MB, free: 15.11 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.000289/0.1566, allocations: 129.8 kB / 354.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.1569, allocations: 69.44 kB / 354.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.157, allocations: 12.31 kB / 354.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.157, allocations: 4 kB / 354.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.157, allocations: 0 / 354.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.157, allocations: 3.938 kB / 354.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.1573, allocations: 178 kB / 355.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1573, allocations: 0 / 355.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.588e-05/0.1574, allocations: 24.02 kB / 355.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1574, allocations: 0 / 355.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.1574, allocations: 4 kB / 355.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1574, allocations: 0 / 355.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.1574, allocations: 3.938 kB / 355.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.1577, allocations: 205.1 kB / 355.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.275e-05/0.1578, allocations: 93 kB / 355.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1578, allocations: 4 kB / 355.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/0.1579, allocations: 8.125 kB / 355.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.158, allocations: 3.938 kB / 355.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.158, allocations: 11.92 kB / 355.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1582, allocations: 108.8 kB / 355.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1582, allocations: 0 / 355.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.1585, allocations: 8 kB / 355.5 MB, free: 14.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.0009581/0.1595, allocations: 0.7686 MB / 356.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.1597, allocations: 63.97 kB / 356.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1598, allocations: 0 / 356.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.1598, allocations: 11.98 kB / 356.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.1603, allocations: 38.36 kB / 356.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.1627, allocations: 1.578 MB / 358 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.1632, allocations: 0.708 MB / 358.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.1633, allocations: 4.672 kB / 358.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.1634, allocations: 23.42 kB / 358.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1634, allocations: 0 / 358.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.1805, allocations: 1.933 MB / 360.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004708/0.1811, allocations: 213.8 kB / 360.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/2.344, allocations: 0 / 360.9 MB, free: 8.758 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