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.01088/0.01088, allocations: 93.11 kB / 15.91 MB, free: 6.281 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.002095/0.002096, allocations: 200.2 kB / 16.84 MB, free: 6.195 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.854/1.854, allocations: 205.1 MB / 222.7 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08764/0.08764, allocations: 12.59 MB / 282.6 MB, free: 9.121 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.002612/0.002613, allocations: 80.64 kB / 342.8 MB, free: 21.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1349, allocations: 49.41 MB / 392.2 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.003109/0.1381, allocations: 1.645 MB / 393.8 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1391, allocations: 0.5852 MB / 394.4 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.1392, allocations: 4 kB / 394.4 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.1395, allocations: 7.938 kB / 394.4 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.1395, allocations: 7.922 kB / 394.4 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.1398, allocations: 55.88 kB / 394.5 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.1399, allocations: 63.84 kB / 394.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.14, allocations: 19.98 kB / 394.6 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.343e-05/0.1401, allocations: 35.78 kB / 394.6 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1402, allocations: 23.86 kB / 394.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1403, allocations: 4 kB / 394.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.1403, allocations: 4 kB / 394.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.1404, allocations: 15.92 kB / 394.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.1404, allocations: 35.78 kB / 394.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.1405, allocations: 64.02 kB / 394.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1405, allocations: 0 / 394.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1406, allocations: 4 kB / 394.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.1406, allocations: 4 kB / 394.8 MB, free: 1.141 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.0005609/0.1411, allocations: 391 kB / 395.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1412, allocations: 8.031 kB / 395.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.1412, allocations: 8.844 kB / 395.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1415, allocations: 200.6 kB / 395.4 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1415, allocations: 4.375 kB / 395.4 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.1415, allocations: 12.06 kB / 395.4 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.1418, allocations: 153.8 kB / 395.5 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1419, allocations: 3.938 kB / 395.5 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1419, allocations: 0 / 395.5 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1419, allocations: 4 kB / 395.5 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.142, allocations: 27.98 kB / 395.6 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.1424, allocations: 290.5 kB / 395.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.1425, allocations: 79.84 kB / 395.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.1426, allocations: 46.61 kB / 396 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1426, allocations: 0 / 396 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1427, allocations: 34.56 kB / 396 MB, free: 15.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1427, allocations: 0 / 396 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003214/0.143, allocations: 109.4 kB / 396.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/0.1431, allocations: 115.1 kB / 396.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1432, allocations: 141.8 kB / 396.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1433, allocations: 25.7 kB / 396.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.1433, allocations: 96.12 kB / 396.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.1434, allocations: 7.891 kB / 396.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.1434, allocations: 25.72 kB / 396.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1435, allocations: 322.8 kB / 396.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.503e-05/0.1436, allocations: 19.98 kB / 396.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.428e-05/0.1437, allocations: 65.94 kB / 396.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1438, allocations: 77.94 kB / 397 MB, free: 14.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1438, allocations: 4 kB / 397 MB, free: 14.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001983/0.144, allocations: 105.5 kB / 397.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1441, allocations: 5.25 kB / 397.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.1441, allocations: 4 kB / 397.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1441, allocations: 3.938 kB / 397.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.1442, allocations: 16.42 kB / 397.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1442, allocations: 4 kB / 397.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.1443, allocations: 23.72 kB / 397.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1443, allocations: 8 kB / 397.2 MB, free: 14.42 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.0001686/0.1445, allocations: 129.9 kB / 397.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.1446, allocations: 65.59 kB / 397.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.1446, allocations: 12.31 kB / 397.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1447, allocations: 4 kB / 397.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1447, allocations: 0 / 397.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1447, allocations: 11.75 kB / 397.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.1449, allocations: 173.6 kB / 397.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1449, allocations: 4 kB / 397.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.145, allocations: 15.92 kB / 397.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.145, allocations: 0 / 397.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.145, allocations: 8.031 kB / 397.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.145, allocations: 0 / 397.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.145, allocations: 0 / 397.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1452, allocations: 197.1 kB / 397.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.1453, allocations: 93 kB / 397.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1453, allocations: 4 kB / 397.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.1454, allocations: 8 kB / 397.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1455, allocations: 7.938 kB / 397.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1455, allocations: 11.92 kB / 397.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.652e-05/0.1456, allocations: 104 kB / 398 MB, free: 13.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1456, allocations: 0 / 398 MB, free: 13.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1458, allocations: 12 kB / 398 MB, free: 13.48 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.0001011/0.1459, allocations: 103.3 kB / 398.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.1461, allocations: 55.91 kB / 398.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1461, allocations: 0 / 398.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/0.1461, allocations: 11.94 kB / 398.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1465, allocations: 40.58 kB / 398.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.1471, allocations: 250.9 kB / 398.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.1475, allocations: 0.7043 MB / 399.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.363e-05/0.1476, allocations: 0.6719 kB / 399.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.1476, allocations: 15.44 kB / 399.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1476, allocations: 4 kB / 399.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of Templates: time 0.003347/0.151, allocations: 0.777 MB / 400 MB, free: 11.46 MB / 302.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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches