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.0007537/0.0007537, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.002973/0.002973, allocations: 149.4 kB / 24.69 MB, free: 9.434 MB / 18.57 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.8069/0.8069, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.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.012e-06/1.012e-06, allocations: 3.938 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.896e-05, allocations: 2.281 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.001856/0.001875, allocations: 1.594 MB / 321.3 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000668/0.002543, allocations: 0.5296 MB / 321.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.002621, allocations: 4 kB / 321.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.002822, allocations: 11.88 kB / 321.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.002874, allocations: 19.84 kB / 321.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.003085, allocations: 55.75 kB / 321.9 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.003197, allocations: 67.77 kB / 322 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.003285, allocations: 11.98 kB / 322 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.003359, allocations: 43.84 kB / 322 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.003441, allocations: 23.89 kB / 322.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.003464, allocations: 8 kB / 322.1 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.003474, allocations: 4 kB / 322.1 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.003533, allocations: 23.92 kB / 322.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.00356, allocations: 19.92 kB / 322.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.003666, allocations: 67.72 kB / 322.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003668, allocations: 0 / 322.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003669, allocations: 0 / 322.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.003673, allocations: 0 / 322.2 MB, free: 3.336 MB / 282.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.0003551/0.004028, allocations: 321.1 kB / 322.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.004058, allocations: 8.031 kB / 322.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.004087, allocations: 12.89 kB / 322.5 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.004259, allocations: 149.3 kB / 322.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.004277, allocations: 8.375 kB / 322.7 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.004287, allocations: 384 / 322.7 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.004526, allocations: 154.4 kB / 322.8 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.004535, allocations: 7.922 kB / 322.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.004544, allocations: 0 / 322.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.00455, allocations: 8 kB / 322.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.004864, allocations: 31.86 kB / 322.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.005098, allocations: 218.3 kB / 323.1 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.005185, allocations: 75.72 kB / 323.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.005232, allocations: 46.69 kB / 323.2 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.005253, allocations: 3.938 kB / 323.2 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.005271, allocations: 38.5 kB / 323.2 MB, free: 2.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.005271, allocations: 0 / 323.2 MB, free: 2.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000203/0.005474, allocations: 113.5 kB / 323.3 MB, free: 2.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.005533, allocations: 118.7 kB / 323.5 MB, free: 1.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.005611, allocations: 137.8 kB / 323.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.005621, allocations: 29.7 kB / 323.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.005655, allocations: 92.12 kB / 323.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.00567, allocations: 7.953 kB / 323.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.005696, allocations: 17.72 kB / 323.7 MB, free: 1.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.865e-05/0.005765, allocations: 318.8 kB / 324.1 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.005791, allocations: 16.23 kB / 324.1 MB, free: 1.227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.00582, allocations: 34.58 kB / 324.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.763e-05/0.005878, allocations: 58.42 kB / 324.2 MB, free: 1.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.005879, allocations: 0 / 324.2 MB, free: 1.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.925e-05/0.005958, allocations: 77.56 kB / 324.2 MB, free: 1.035 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.00597, allocations: 4 kB / 324.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005974, allocations: 4.094 kB / 324.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.005986, allocations: 4 kB / 324.2 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.006046, allocations: 4 kB / 324.2 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.006051, allocations: 4 kB / 324.3 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.006071, allocations: 4.359 kB / 324.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.006077, allocations: 4 kB / 324.3 MB, free: 1.008 MB / 282.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 6.352e-05/0.00614, allocations: 117.8 kB / 324.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.006201, allocations: 77.58 kB / 324.5 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.006226, allocations: 16.45 kB / 324.5 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.006229, allocations: 4.031 kB / 324.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.006233, allocations: 4 kB / 324.5 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.006235, allocations: 0 / 324.5 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.106e-05/0.006326, allocations: 129.1 kB / 324.6 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.006328, allocations: 3.984 kB / 324.6 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.006357, allocations: 12 kB / 324.6 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.006358, allocations: 3.938 kB / 324.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.006364, allocations: 0 / 324.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.006365, allocations: 3.938 kB / 324.6 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006366, allocations: 4 kB / 324.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.006481, allocations: 205.1 kB / 324.8 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.006511, allocations: 19.92 kB / 324.8 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.006524, allocations: 4 kB / 324.9 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.463e-05/0.006559, allocations: 4 kB / 324.9 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.006582, allocations: 0 / 324.9 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.006587, allocations: 7.984 kB / 324.9 MB, free: 340 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.383e-05/0.00663, allocations: 106.3 kB / 325 MB, free: 236 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006631, allocations: 7.938 kB / 325 MB, free: 228 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.006776, allocations: 12 kB / 325 MB, free: 216 kB / 282.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 6.959e-05/0.006846, allocations: 111.2 kB / 325.1 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.901e-05/0.006945, allocations: 39.92 kB / 325.1 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.006946, allocations: 0 / 325.1 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.834e-05/0.006964, allocations: 11.98 kB / 325.1 MB, free: 44 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.007205, allocations: 39.95 kB / 325.2 MB, free: 4 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.007537, allocations: 233.2 kB / 325.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.007594, allocations: 95.61 kB / 325.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.007621, allocations: 12.5 kB / 325.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.007621, allocations: 0 / 325.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of Templates: time 0.001617/0.009238, allocations: 1.074 MB / 326.6 MB, free: 14.54 MB / 298.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.056300145573914]