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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 124.5 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 190.6 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.92 kB / 366.8 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.125, allocations: 52.15 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.004243/0.1293, allocations: 1.606 MB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1306, allocations: 0.5531 MB / 421.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1308, allocations: 4 kB / 421.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.131, allocations: 15.84 kB / 421.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.1311, allocations: 11.88 kB / 421.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.1315, allocations: 63.81 kB / 421.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1317, allocations: 67.77 kB / 421.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1318, allocations: 11.98 kB / 421.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1319, allocations: 27.92 kB / 421.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.132, allocations: 39.83 kB / 421.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.1321, allocations: 7.938 kB / 421.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.1321, allocations: 4 kB / 421.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.1322, allocations: 19.92 kB / 421.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.1322, allocations: 27.75 kB / 421.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1324, allocations: 71.66 kB / 421.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1324, allocations: 4 kB / 421.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1324, allocations: 3.938 kB / 421.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1324, allocations: 0 / 421.5 MB, free: 9.52 MB / 350.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.0006985/0.1331, allocations: 391 kB / 421.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.1332, allocations: 11.89 kB / 421.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.1332, allocations: 12.84 kB / 421.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.1336, allocations: 204.7 kB / 422.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1337, allocations: 12.31 kB / 422.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.1337, allocations: 12.12 kB / 422.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/0.1341, allocations: 141.9 kB / 422.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1342, allocations: 0 / 422.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1342, allocations: 0 / 422.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1342, allocations: 8 kB / 422.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.1343, allocations: 35.91 kB / 422.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.1349, allocations: 278.6 kB / 422.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.1351, allocations: 79.84 kB / 422.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.1352, allocations: 42.56 kB / 422.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.1352, allocations: 4 kB / 422.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1352, allocations: 34.56 kB / 422.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.1352, allocations: 0 / 422.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.00047/0.1357, allocations: 117.5 kB / 422.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.1358, allocations: 118.7 kB / 423 MB, free: 7.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.136, allocations: 139.9 kB / 423.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1361, allocations: 29.7 kB / 423.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.1361, allocations: 92.12 kB / 423.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1362, allocations: 8.203 kB / 423.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.1362, allocations: 25.72 kB / 423.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1364, allocations: 326.8 kB / 423.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.1364, allocations: 19.92 kB / 423.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.1365, allocations: 61.94 kB / 423.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1367, allocations: 89.86 kB / 423.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1367, allocations: 0 / 423.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001998/0.1369, allocations: 101.5 kB / 423.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.1369, allocations: 8 kB / 423.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1369, allocations: 0 / 423.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.1369, allocations: 4 kB / 423.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1371, allocations: 19.92 kB / 423.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1371, allocations: 3.984 kB / 423.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.488e-05/0.1372, allocations: 16.11 kB / 423.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1372, allocations: 8 kB / 423.9 MB, free: 6.793 MB / 350.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.0001503/0.1373, allocations: 121.8 kB / 424 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.1375, allocations: 73.58 kB / 424.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.1376, allocations: 20.28 kB / 424.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1376, allocations: 0 / 424.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1376, allocations: 0 / 424.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1376, allocations: 7.938 kB / 424.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.1379, allocations: 173.6 kB / 424.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1379, allocations: 4.031 kB / 424.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.946e-05/0.138, allocations: 8 kB / 424.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.138, allocations: 4 kB / 424.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.138, allocations: 3.938 kB / 424.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.138, allocations: 3.984 kB / 424.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.138, allocations: 0 / 424.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.1384, allocations: 201.1 kB / 424.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1385, allocations: 101 kB / 424.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.1385, allocations: 320 / 424.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.1387, allocations: 15.98 kB / 424.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.1387, allocations: 0 / 424.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.1387, allocations: 7.938 kB / 424.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1388, allocations: 107.2 kB / 424.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1388, allocations: 4 kB / 424.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.1391, allocations: 12 kB / 424.8 MB, free: 5.832 MB / 350.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.0001575/0.1393, allocations: 107.1 kB / 424.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.1396, allocations: 51.91 kB / 424.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1396, allocations: 3.938 kB / 424.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.849e-05/0.1396, allocations: 15.98 kB / 424.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.1402, allocations: 42.08 kB / 425 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007218/0.141, allocations: 242.5 kB / 425.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.1414, allocations: 0.7039 MB / 425.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.1414, allocations: 19.36 kB / 425.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1414, allocations: 0 / 425.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of Templates: time 0.003657/0.1451, allocations: 1.087 MB / 427 MB, free: 3.512 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.921314319130033]