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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009139/0.0009139, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008972/0.0008972, allocations: 160.2 kB / 24.91 MB, free: 8.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9421/0.9421, allocations: 177 MB / 205.2 MB, free: 5.031 MB / 186.7 MB " [Timeout remaining time 179] 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=5017,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=5017,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.109e-05, allocations: 2.312 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002747/0.002778, allocations: 1.672 MB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003834, allocations: 0.6074 MB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.003923, allocations: 3.938 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.004142, allocations: 15.81 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.828e-05/0.004201, allocations: 15.91 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.00453, allocations: 75.62 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.004649, allocations: 63.77 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.902e-05/0.004728, allocations: 15.98 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.004867, allocations: 39.89 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.767e-05/0.004965, allocations: 27.91 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.004983, allocations: 8 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.922e-05/0.005022, allocations: 7.984 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.005082, allocations: 23.92 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.005111, allocations: 15.94 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.005265, allocations: 63.67 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.005268, allocations: 0 / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.00527, allocations: 0 / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005275, allocations: 0 / 276 MB, free: 14.38 MB / 266.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.0004324/0.005707, allocations: 288.5 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.005752, allocations: 11.98 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.00589, allocations: 20.92 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.006075, allocations: 150.1 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.006091, allocations: 4.375 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.006102, allocations: 8.375 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.006291, allocations: 135 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.006298, allocations: 3.938 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.006306, allocations: 4 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.006311, allocations: 4 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.089e-05/0.006342, allocations: 22.75 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.006519, allocations: 160.8 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.338e-05/0.006582, allocations: 63.78 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.006612, allocations: 34.5 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.006629, allocations: 8.125 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.006651, allocations: 38.5 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.006652, allocations: 0 / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001244/0.006777, allocations: 69.61 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.006836, allocations: 110.8 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.006909, allocations: 147.8 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.00692, allocations: 25.7 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.006947, allocations: 92.06 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.006963, allocations: 7.938 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.006991, allocations: 21.72 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.007059, allocations: 318.8 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.00707, allocations: 4 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/0.007089, allocations: 18.83 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.007123, allocations: 37.33 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007124, allocations: 0 / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.335e-05/0.007178, allocations: 57.56 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.00719, allocations: 8 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007195, allocations: 0 / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.007205, allocations: 0 / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.778e-05/0.007262, allocations: 8.078 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.007265, allocations: 8 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.007283, allocations: 0 / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.007287, allocations: 4 kB / 277.9 MB, free: 12.29 MB / 266.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.451e-05/0.007352, allocations: 116.6 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.007398, allocations: 57.61 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.007422, allocations: 8.469 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.007426, allocations: 4 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.007427, allocations: 0 / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.007431, allocations: 7.922 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.843e-05/0.007519, allocations: 85.84 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007521, allocations: 4 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.483e-05/0.007555, allocations: 11.98 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.007557, allocations: 448 / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.007564, allocations: 11.94 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007565, allocations: 0 / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.007567, allocations: 7.938 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.822e-05/0.007635, allocations: 148 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.007663, allocations: 15.94 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.00768, allocations: 7.938 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.007715, allocations: 8.031 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.007732, allocations: 0 / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.007738, allocations: 7.984 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.342e-05/0.007761, allocations: 32.39 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007761, allocations: 0 / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001178/0.007879, allocations: 8 kB / 278.4 MB, free: 11.7 MB / 266.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.957e-05/0.007969, allocations: 80.36 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.844e-05/0.008037, allocations: 32.78 kB / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.00804, allocations: 0 / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.237e-06/0.008049, allocations: 13.05 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.00825, allocations: 33.03 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.008732, allocations: 261.5 kB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.921e-05/0.008771, allocations: 67.33 kB / 278.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.097e-05/0.008792, allocations: 4 kB / 278.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.008849, allocations: 67.36 kB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.00885, allocations: 4.156 kB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of Templates: time 0.002298/0.01115, allocations: 0.9369 MB / 279.9 MB, free: 10.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 240] 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","",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.6481759469024837]