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.0006905/0.0006905, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009457/0.001636, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0008405/0.0008405, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.00201, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8511/0.8511, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1529/1.004, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] 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 1.001e-06/1.001e-06, allocations: 0 / 239.8 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.112e-05, allocations: 2.312 kB / 239.8 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002063/0.002084, allocations: 1.708 MB / 241.5 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005243/0.002609, allocations: 0.5373 MB / 242 MB, free: 4.105 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.002651, allocations: 7.938 kB / 242 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.181e-05/0.002713, allocations: 15.86 kB / 242 MB, free: 4.082 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.045e-05/0.002743, allocations: 11.86 kB / 242 MB, free: 4.07 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.002894, allocations: 69.2 kB / 242.1 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.96e-05/0.002964, allocations: 59.73 kB / 242.2 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.003012, allocations: 11.98 kB / 242.2 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.919e-05/0.003081, allocations: 44.52 kB / 242.2 MB, free: 3.891 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.003141, allocations: 28.48 kB / 242.2 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.003154, allocations: 4 kB / 242.2 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.003162, allocations: 4.531 kB / 242.3 MB, free: 3.855 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.0032, allocations: 17.62 kB / 242.3 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.00322, allocations: 15.94 kB / 242.3 MB, free: 3.824 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 6.741e-05/0.003287, allocations: 39.84 kB / 242.3 MB, free: 3.785 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.003294, allocations: 4 kB / 242.3 MB, free: 3.781 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.003294, allocations: 3.938 kB / 242.3 MB, free: 3.777 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.0033, allocations: 1.156 kB / 242.3 MB, free: 3.777 MB / 234.7 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.0002351/0.003535, allocations: 308.1 kB / 242.6 MB, free: 3.453 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.176e-05/0.003557, allocations: 8.031 kB / 242.6 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.946e-05/0.003576, allocations: 13.92 kB / 242.7 MB, free: 3.434 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.003681, allocations: 145.2 kB / 242.8 MB, free: 3.27 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.003691, allocations: 4.375 kB / 242.8 MB, free: 3.266 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.003699, allocations: 8.375 kB / 242.8 MB, free: 3.258 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.003838, allocations: 136.4 kB / 242.9 MB, free: 3.102 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.003844, allocations: 8.641 kB / 242.9 MB, free: 3.094 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-06/0.003849, allocations: 0 / 242.9 MB, free: 3.094 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-06/0.003852, allocations: 0.6562 kB / 242.9 MB, free: 3.094 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.003876, allocations: 21.3 kB / 243 MB, free: 3.074 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.003998, allocations: 156.9 kB / 243.1 MB, free: 2.898 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.061e-05/0.004049, allocations: 71.72 kB / 243.2 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.004072, allocations: 26.62 kB / 243.2 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.004083, allocations: 128 / 243.2 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.0041, allocations: 46.44 kB / 243.3 MB, free: 2.711 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 5.51e-07/0.004101, allocations: 1.469 kB / 243.3 MB, free: 2.711 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 8.872e-05/0.00419, allocations: 65.61 kB / 243.3 MB, free: 2.641 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.004228, allocations: 107.6 kB / 243.4 MB, free: 2.512 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.02e-05/0.004288, allocations: 144.9 kB / 243.6 MB, free: 2.359 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.004297, allocations: 26.8 kB / 243.6 MB, free: 2.328 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.004321, allocations: 88.12 kB / 243.7 MB, free: 2.238 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.004332, allocations: 7.891 kB / 243.7 MB, free: 2.23 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.004357, allocations: 32.72 kB / 243.7 MB, free: 2.195 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.059e-05/0.004417, allocations: 318.8 kB / 244 MB, free: 1.875 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-06/0.004423, allocations: 0 / 244 MB, free: 1.875 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.004439, allocations: 26.56 kB / 244.1 MB, free: 1.84 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.004466, allocations: 29.39 kB / 244.1 MB, free: 1.801 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.004467, allocations: 0 / 244.1 MB, free: 1.801 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.264e-05/0.00451, allocations: 62.45 kB / 244.2 MB, free: 1.734 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/0.004518, allocations: 4.906 kB / 244.2 MB, free: 1.73 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.00452, allocations: 0 / 244.2 MB, free: 1.73 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.004525, allocations: 5.781 kB / 244.2 MB, free: 1.727 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.172e-05/0.004567, allocations: 8 kB / 244.2 MB, free: 1.719 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-06/0.004569, allocations: 0 / 244.2 MB, free: 1.719 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.004585, allocations: 4 kB / 244.2 MB, free: 1.715 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.004589, allocations: 7.922 kB / 244.2 MB, free: 1.707 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 5.126e-05/0.00464, allocations: 117.3 kB / 244.3 MB, free: 1.582 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.004682, allocations: 58.25 kB / 244.4 MB, free: 1.52 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.004703, allocations: 20.44 kB / 244.4 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.004704, allocations: 1.969 kB / 244.4 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.004707, allocations: 4 kB / 244.4 MB, free: 1.488 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.004709, allocations: 0 / 244.4 MB, free: 1.488 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.224e-05/0.004781, allocations: 73.88 kB / 244.5 MB, free: 1.398 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.004782, allocations: 0 / 244.5 MB, free: 1.398 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.004811, allocations: 12.94 kB / 244.5 MB, free: 1.387 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.004835, allocations: 24.72 kB / 244.5 MB, free: 1.363 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-07/0.004836, allocations: 0 / 244.5 MB, free: 1.363 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.004844, allocations: 8 kB / 244.5 MB, free: 1.355 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.004845, allocations: 5.562 kB / 244.5 MB, free: 1.352 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.004848, allocations: 0 / 244.5 MB, free: 1.352 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.299e-05/0.004901, allocations: 144.1 kB / 244.6 MB, free: 1.188 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.004915, allocations: 12.33 kB / 244.7 MB, free: 1.176 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.231e-05/0.004948, allocations: 8 kB / 244.7 MB, free: 1.168 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.004962, allocations: 0 / 244.7 MB, free: 1.168 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.004965, allocations: 0 / 244.7 MB, free: 1.168 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.944e-05/0.004984, allocations: 28.83 kB / 244.7 MB, free: 1.137 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004984, allocations: 0 / 244.7 MB, free: 1.137 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001134/0.005098, allocations: 12 kB / 244.7 MB, free: 1.125 MB / 234.7 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 5.017e-05/0.005148, allocations: 84.34 kB / 244.8 MB, free: 1.035 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 4.837e-05/0.005196, allocations: 28.8 kB / 244.8 MB, free: 1.004 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.005199, allocations: 288 / 244.8 MB, free: 1.004 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.355e-05/0.005212, allocations: 16.84 kB / 244.8 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.005404, allocations: 163.7 kB / 245 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.006031, allocations: 262 kB / 245.2 MB, free: 0.5 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.176e-05/0.006062, allocations: 63.34 kB / 245.3 MB, free: 428 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.79e-05/0.00608, allocations: 4 kB / 245.3 MB, free: 424 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.006129, allocations: 67.56 kB / 245.4 MB, free: 356 kB / 234.7 MB Notification: Performance of SimCode: time 3.5e-07/0.00613, allocations: 4 kB / 245.4 MB, free: 352 kB / 234.7 MB Notification: Performance of Templates: time 0.001939/0.008069, allocations: 0.9536 MB / 246.3 MB, free: 15.42 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.2924937289208174]