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.001189/0.001189, allocations: 109.4 kB / 16.45 MB, free: 6.395 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.001256/0.001256, allocations: 186.4 kB / 17.39 MB, free: 5.645 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.713/1.713, allocations: 205.1 MB / 223.3 MB, free: 12.18 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.1041/0.1041, allocations: 12.58 MB / 283.2 MB, free: 15.39 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.001885/0.001885, allocations: 91.03 kB / 394.2 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1412, allocations: 49.4 MB / 443.6 MB, free: 492 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.003493/0.1448, allocations: 1.598 MB / 445.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1461, allocations: 0.5891 MB / 445.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1462, allocations: 3.938 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1465, allocations: 19.86 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.708e-05/0.1466, allocations: 7.938 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.1469, allocations: 59.81 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.147, allocations: 63.81 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1472, allocations: 27.92 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1473, allocations: 39.78 kB / 446 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1474, allocations: 31.84 kB / 446 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1474, allocations: 4 kB / 446 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.1475, allocations: 4 kB / 446 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.1475, allocations: 19.92 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.1476, allocations: 23.81 kB / 446.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1478, allocations: 71.72 kB / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1478, allocations: 0 / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1478, allocations: 4 kB / 446.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.1478, allocations: 0 / 446.1 MB, free: 13.9 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.0006872/0.1485, allocations: 395 kB / 446.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1485, allocations: 8.031 kB / 446.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.1486, allocations: 8.844 kB / 446.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.1489, allocations: 208.6 kB / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1489, allocations: 384 / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.1489, allocations: 16.12 kB / 446.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.1493, allocations: 153.7 kB / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1493, allocations: 0 / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1493, allocations: 0 / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.1494, allocations: 4 kB / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1495, allocations: 39.95 kB / 446.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.1499, allocations: 282.5 kB / 447.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.15, allocations: 83.72 kB / 447.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.1501, allocations: 42.75 kB / 447.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.1502, allocations: 0 / 447.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1502, allocations: 34.55 kB / 447.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.1502, allocations: 4 kB / 447.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003381/0.1505, allocations: 113.5 kB / 447.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.477e-05/0.1506, allocations: 110.7 kB / 447.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1508, allocations: 141.8 kB / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1508, allocations: 29.7 kB / 447.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.1509, allocations: 92.12 kB / 447.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1509, allocations: 15.84 kB / 447.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.151, allocations: 21.86 kB / 447.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.1512, allocations: 326.8 kB / 448.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.1513, allocations: 15.98 kB / 448.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.552e-05/0.1514, allocations: 61.94 kB / 448.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1515, allocations: 82.17 kB / 448.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.1515, allocations: 4 kB / 448.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001992/0.1517, allocations: 109.4 kB / 448.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1518, allocations: 8 kB / 448.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1518, allocations: 0 / 448.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.1518, allocations: 4 kB / 448.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1519, allocations: 15.98 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.152, allocations: 0 / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/0.152, allocations: 15.92 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.152, allocations: 8.219 kB / 448.5 MB, free: 11.18 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.0001462/0.1522, allocations: 121.8 kB / 448.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.1523, allocations: 69.59 kB / 448.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.1524, allocations: 20.23 kB / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1524, allocations: 0 / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1524, allocations: 0 / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1524, allocations: 4.125 kB / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1527, allocations: 181.5 kB / 448.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.1527, allocations: 7.938 kB / 448.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.1528, allocations: 15.97 kB / 448.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1528, allocations: 3.984 kB / 448.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1528, allocations: 8 kB / 449 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1528, allocations: 0 / 449 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1528, allocations: 0 / 449 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.1531, allocations: 193 kB / 449.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.1532, allocations: 104.9 kB / 449.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1533, allocations: 7.984 kB / 449.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.1534, allocations: 4 kB / 449.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.1534, allocations: 0 / 449.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.1534, allocations: 7.938 kB / 449.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.084e-05/0.1535, allocations: 111.9 kB / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1535, allocations: 0 / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1538, allocations: 16 kB / 449.4 MB, free: 10.21 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.000142/0.1539, allocations: 95.25 kB / 449.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.1542, allocations: 55.91 kB / 449.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1542, allocations: 0 / 449.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.463e-05/0.1542, allocations: 15.92 kB / 449.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.1546, allocations: 36.27 kB / 449.6 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.1552, allocations: 213.4 kB / 449.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1556, allocations: 0.7002 MB / 450.5 MB, free: 9.035 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.294e-05/0.1556, allocations: 12.64 kB / 450.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.1557, allocations: 11.44 kB / 450.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1557, allocations: 0 / 450.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of Templates: time 0.003302/0.159, allocations: 0.8472 MB / 451.4 MB, free: 8.164 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