Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001655/0.002783, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001594/0.002723, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.077/1.077, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1168/1.194, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.395e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002164/0.002188, allocations: 1.724 MB / 246.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007736/0.002961, allocations: 0.6112 MB / 246.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.46e-05/0.003046, allocations: 3.938 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.003164, allocations: 19.84 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.00322, allocations: 15.88 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.003488, allocations: 75.72 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.003612, allocations: 59.78 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.003698, allocations: 19.88 kB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.003838, allocations: 51.81 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.832e-05/0.003927, allocations: 19.97 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.003944, allocations: 4 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.701e-05/0.004001, allocations: 11.98 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.004057, allocations: 19.94 kB / 247.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.00408, allocations: 11.94 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.004202, allocations: 51.77 kB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.004214, allocations: 4 kB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004215, allocations: 4 kB / 247.2 MB, free: 11.6 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.004228, allocations: 0 / 247.2 MB, free: 11.6 MB / 250.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.0004399/0.004668, allocations: 308.1 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.00471, allocations: 8.031 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.004906, allocations: 94.03 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.005094, allocations: 146.1 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.005117, allocations: 8.359 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.005127, allocations: 4.375 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.005347, allocations: 139.1 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.005358, allocations: 7.938 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.005365, allocations: 0 / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.005371, allocations: 0 / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.907e-05/0.00541, allocations: 14.81 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.005644, allocations: 168.7 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.755e-05/0.005721, allocations: 63.89 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.005754, allocations: 30.62 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.005779, allocations: 4 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.005805, allocations: 38.5 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.005806, allocations: 0 / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001528/0.005959, allocations: 73.73 kB / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.006026, allocations: 114.8 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.006104, allocations: 142.6 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.006115, allocations: 25.7 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.006142, allocations: 84.39 kB / 248.7 MB, free: 9.945 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.006162, allocations: 19.94 kB / 248.7 MB, free: 9.926 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.00619, allocations: 17.7 kB / 248.7 MB, free: 9.902 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.006268, allocations: 318.8 kB / 249 MB, free: 9.582 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-06/0.006278, allocations: 0 / 249 MB, free: 9.582 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.006299, allocations: 30.56 kB / 249.1 MB, free: 9.543 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.601e-05/0.006335, allocations: 29.34 kB / 249.1 MB, free: 9.504 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006337, allocations: 0 / 249.1 MB, free: 9.504 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.676e-05/0.006403, allocations: 61.55 kB / 249.1 MB, free: 9.438 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.006417, allocations: 4 kB / 249.1 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.006422, allocations: 0 / 249.1 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.006432, allocations: 7.984 kB / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.006504, allocations: 7.938 kB / 249.2 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.006507, allocations: 0 / 249.2 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.006525, allocations: 4 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.006531, allocations: 3.984 kB / 249.2 MB, free: 9.41 MB / 250.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 7.528e-05/0.006606, allocations: 120.7 kB / 249.3 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.006658, allocations: 53.66 kB / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.006692, allocations: 24.48 kB / 249.4 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.006694, allocations: 0 / 249.4 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.006696, allocations: 4 kB / 249.4 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.0067, allocations: 0 / 249.4 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.006803, allocations: 81.77 kB / 249.4 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.006806, allocations: 4 kB / 249.5 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.00685, allocations: 11.98 kB / 249.5 MB, free: 9.078 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.006879, allocations: 15.89 kB / 249.5 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.006881, allocations: 0 / 249.5 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.006889, allocations: 8 kB / 249.5 MB, free: 9.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006889, allocations: 4 kB / 249.5 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006891, allocations: 0 / 249.5 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.211e-05/0.006973, allocations: 152.3 kB / 249.6 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.006993, allocations: 11.92 kB / 249.7 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.00703, allocations: 8 kB / 249.7 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.007053, allocations: 3.938 kB / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.007057, allocations: 4 kB / 249.7 MB, free: 8.852 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.328e-05/0.00708, allocations: 27.83 kB / 249.7 MB, free: 8.824 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00708, allocations: 0 / 249.7 MB, free: 8.824 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001204/0.007201, allocations: 8 kB / 249.7 MB, free: 8.816 MB / 250.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 8.569e-05/0.007287, allocations: 92.44 kB / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.891e-05/0.007365, allocations: 20.8 kB / 249.8 MB, free: 8.691 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.007371, allocations: 4 kB / 249.8 MB, free: 8.688 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.007382, allocations: 8.844 kB / 249.8 MB, free: 8.676 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.00763, allocations: 49.02 kB / 249.9 MB, free: 8.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009073/0.008537, allocations: 261.7 kB / 250.1 MB, free: 8.336 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.453e-05/0.008592, allocations: 75.33 kB / 250.2 MB, free: 8.242 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.642e-05/0.008628, allocations: 0 / 250.2 MB, free: 8.242 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.008699, allocations: 63.36 kB / 250.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.0087, allocations: 0 / 250.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of Templates: time 0.00319/0.01189, allocations: 0.9639 MB / 251.2 MB, free: 7.238 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5920815113931894]