Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001877/0.001877, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001986/0.001986, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.69 kB / 307 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1408, allocations: 50.54 MB / 357.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003374/0.1442, allocations: 1.614 MB / 359.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1455, allocations: 0.6116 MB / 359.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.1456, allocations: 7.938 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.1459, allocations: 19.84 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.789e-05/0.146, allocations: 7.875 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.1463, allocations: 75.8 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.1464, allocations: 63.83 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1465, allocations: 19.98 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.1467, allocations: 43.78 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1468, allocations: 31.84 kB / 360 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1469, allocations: 4 kB / 360 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.336e-05/0.1469, allocations: 8 kB / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.147, allocations: 19.92 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.1471, allocations: 39.73 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1473, allocations: 71.72 kB / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1473, allocations: 0 / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1473, allocations: 0 / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1473, allocations: 4 kB / 360.2 MB, free: 11.37 MB / 302.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.0006195/0.1479, allocations: 383.3 kB / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.148, allocations: 12.03 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.1482, allocations: 24.73 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1484, allocations: 200.1 kB / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1484, allocations: 8.312 kB / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1485, allocations: 8.125 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.1488, allocations: 153.8 kB / 360.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1489, allocations: 3.984 kB / 360.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1489, allocations: 3.938 kB / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1489, allocations: 4 kB / 361 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.149, allocations: 31.92 kB / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.1494, allocations: 286.5 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1496, allocations: 83.83 kB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1497, allocations: 42.62 kB / 361.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1497, allocations: 7.984 kB / 361.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1498, allocations: 34.56 kB / 361.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1498, allocations: 0 / 361.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003426/0.1501, allocations: 105.7 kB / 361.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/0.1502, allocations: 118.8 kB / 361.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.1504, allocations: 142.4 kB / 361.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1504, allocations: 25.7 kB / 361.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.1505, allocations: 92.12 kB / 361.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.1505, allocations: 7.906 kB / 361.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.1506, allocations: 29.62 kB / 361.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1507, allocations: 322.8 kB / 362.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.095e-05/0.1508, allocations: 23.98 kB / 362.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.1509, allocations: 54 kB / 362.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1511, allocations: 93.86 kB / 362.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1511, allocations: 0 / 362.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000213/0.1513, allocations: 105.5 kB / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1513, allocations: 11.22 kB / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1513, allocations: 0 / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1514, allocations: 4 kB / 362.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1515, allocations: 19.92 kB / 362.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1515, allocations: 4 kB / 362.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.082e-05/0.1516, allocations: 7.938 kB / 362.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.1516, allocations: 4 kB / 362.6 MB, free: 8.637 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.0001949/0.1518, allocations: 130 kB / 362.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.1519, allocations: 77.78 kB / 362.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.152, allocations: 16.3 kB / 362.8 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.152, allocations: 0 / 362.8 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.152, allocations: 4 kB / 362.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.152, allocations: 3.938 kB / 362.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.1522, allocations: 173.6 kB / 363 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1522, allocations: 0 / 363 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.1523, allocations: 15.94 kB / 363 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1523, allocations: 192 / 363 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1523, allocations: 8.031 kB / 363 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1523, allocations: 11.92 kB / 363 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1524, allocations: 0 / 363 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1526, allocations: 189.1 kB / 363.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.919e-05/0.1527, allocations: 96.91 kB / 363.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.1527, allocations: 12 kB / 363.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.1528, allocations: 3.984 kB / 363.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.1528, allocations: 4 kB / 363.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.1528, allocations: 7.875 kB / 363.3 MB, free: 7.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.1529, allocations: 114.8 kB / 363.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1529, allocations: 0 / 363.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1532, allocations: 16 kB / 363.4 MB, free: 7.664 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.0001457/0.1534, allocations: 95.25 kB / 363.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1536, allocations: 63.91 kB / 363.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1536, allocations: 0 / 363.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.511e-05/0.1536, allocations: 15.92 kB / 363.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.154, allocations: 36.08 kB / 363.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/0.1546, allocations: 229.3 kB / 363.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1549, allocations: 0.6963 MB / 364.6 MB, free: 6.473 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.547e-05/0.155, allocations: 16.36 kB / 364.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.155, allocations: 15.44 kB / 364.6 MB, free: 6.441 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.155, allocations: 4 kB / 364.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of Templates: time 0.004149/0.1592, allocations: 0.8285 MB / 365.4 MB, free: 5.621 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches