Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 107.8 kB / 16.45 MB, free: 6.441 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.001642/0.001642, allocations: 189.4 kB / 17.39 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0897/0.0897, allocations: 12.59 MB / 283.2 MB, free: 15.4 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 87 kB / 394.2 MB, free: 45.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1344, allocations: 49.41 MB / 443.6 MB, free: 500 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.005335/0.1399, allocations: 1.587 MB / 445.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1415, allocations: 0.5852 MB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1418, allocations: 3.938 kB / 445.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.1421, allocations: 19.88 kB / 445.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.1422, allocations: 11.86 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.1426, allocations: 67.8 kB / 445.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.1428, allocations: 59.84 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.143, allocations: 27.91 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.1431, allocations: 35.84 kB / 446 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1433, allocations: 27.86 kB / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1433, allocations: 4 kB / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.1434, allocations: 4 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1435, allocations: 27.91 kB / 446 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.1435, allocations: 27.8 kB / 446.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1437, allocations: 67.73 kB / 446.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1437, allocations: 0 / 446.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.484e-05/0.1438, allocations: 4 kB / 446.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.1438, allocations: 0 / 446.1 MB, free: 13.92 MB / 334.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.0007258/0.1445, allocations: 394.9 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.1446, allocations: 8.031 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.1447, allocations: 12.84 kB / 446.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.145, allocations: 200.7 kB / 446.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.1451, allocations: 4.375 kB / 446.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.1451, allocations: 12.12 kB / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.1455, allocations: 161.7 kB / 446.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1455, allocations: 0 / 446.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1456, allocations: 0 / 446.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1456, allocations: 4 kB / 446.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.1458, allocations: 31.92 kB / 446.9 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.1462, allocations: 278.6 kB / 447.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1464, allocations: 87.7 kB / 447.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.1465, allocations: 42.75 kB / 447.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.1465, allocations: 3.984 kB / 447.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.1466, allocations: 38.5 kB / 447.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1466, allocations: 0 / 447.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003431/0.1469, allocations: 113.6 kB / 447.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.147, allocations: 106.7 kB / 447.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.1472, allocations: 149.8 kB / 447.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1472, allocations: 25.7 kB / 447.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.1473, allocations: 92.14 kB / 447.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.1473, allocations: 11.83 kB / 447.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.1474, allocations: 21.88 kB / 447.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1476, allocations: 330.8 kB / 448.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/0.1476, allocations: 19.92 kB / 448.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/0.1477, allocations: 62 kB / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.1479, allocations: 73.94 kB / 448.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.1479, allocations: 7.938 kB / 448.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002006/0.1481, allocations: 113.4 kB / 448.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1481, allocations: 4 kB / 448.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1481, allocations: 4 kB / 448.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1482, allocations: 0 / 448.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1483, allocations: 15.98 kB / 448.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1483, allocations: 8.125 kB / 448.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.1484, allocations: 7.938 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1484, allocations: 12.16 kB / 448.5 MB, free: 11.19 MB / 334.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.0001434/0.1485, allocations: 125.8 kB / 448.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.1487, allocations: 69.53 kB / 448.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.1487, allocations: 12.25 kB / 448.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1487, allocations: 4 kB / 448.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1487, allocations: 320 / 448.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1487, allocations: 3.938 kB / 448.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.149, allocations: 185.5 kB / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.149, allocations: 4 kB / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.1491, allocations: 16.02 kB / 448.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1491, allocations: 0 / 448.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1491, allocations: 4 kB / 449 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1491, allocations: 0 / 449 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1491, allocations: 0 / 449 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.1494, allocations: 205 kB / 449.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-05/0.1495, allocations: 96.94 kB / 449.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.1495, allocations: 4 kB / 449.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.1496, allocations: 4 kB / 449.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.1497, allocations: 0 / 449.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.1497, allocations: 11.92 kB / 449.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.157e-05/0.1498, allocations: 112 kB / 449.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1498, allocations: 0 / 449.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.15, allocations: 12 kB / 449.4 MB, free: 10.23 MB / 334.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.0001372/0.1502, allocations: 103.2 kB / 449.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1504, allocations: 55.84 kB / 449.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1504, allocations: 0 / 449.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.1505, allocations: 8 kB / 449.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.151, allocations: 43.94 kB / 449.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/0.1517, allocations: 209.5 kB / 449.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.1521, allocations: 0.7041 MB / 450.5 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.76e-05/0.1522, allocations: 4.672 kB / 450.5 MB, free: 9.043 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.1522, allocations: 11.44 kB / 450.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1522, allocations: 0 / 450.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of Templates: time 0.004148/0.1564, allocations: 0.8511 MB / 451.4 MB, free: 8.18 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches