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.001444/0.001444, 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.001195/0.001195, allocations: 160.2 kB / 24.91 MB, free: 8.758 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 1.017/1.017, allocations: 177 MB / 205.2 MB, free: 5.434 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.793e-06/1.793e-06, allocations: 3.938 kB / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.548e-05, allocations: 2.312 kB / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.004544/0.00457, allocations: 1.705 MB / 275.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.005507, allocations: 0.6074 MB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.005579, allocations: 0 / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.005774, allocations: 23.8 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.005829, allocations: 7.938 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.006093, allocations: 79.59 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.006208, allocations: 67.7 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.836e-05/0.006286, allocations: 15.98 kB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.006407, allocations: 39.89 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.00649, allocations: 31.91 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.006508, allocations: 4 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.006555, allocations: 8 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.006612, allocations: 23.91 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.006639, allocations: 15.94 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.006772, allocations: 59.75 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.006775, allocations: 0 / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006776, allocations: 3.938 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.00678, allocations: 0 / 276.1 MB, free: 14.45 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.0003541/0.007134, allocations: 284.5 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.007169, allocations: 15.98 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.007297, allocations: 24.91 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.007485, allocations: 142.2 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.007504, allocations: 8.375 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.007515, allocations: 4.375 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.007734, allocations: 147 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.007742, allocations: 7.938 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.00775, allocations: 0 / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.007758, allocations: 4 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.007794, allocations: 10.77 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.007993, allocations: 164.8 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.619e-05/0.008069, allocations: 67.7 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.008105, allocations: 26.77 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.00812, allocations: 4 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.008148, allocations: 46.42 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.008149, allocations: 7.938 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001522/0.008301, allocations: 61.62 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.008362, allocations: 114.8 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/0.008459, allocations: 150 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.008469, allocations: 25.7 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.008506, allocations: 88.08 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.008525, allocations: 7.938 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.008566, allocations: 25.7 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.008662, allocations: 318.8 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.008673, allocations: 4.25 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.008696, allocations: 22.58 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/0.00874, allocations: 37.33 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.008742, allocations: 0 / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.747e-05/0.00882, allocations: 53.56 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.008831, allocations: 4 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.008836, allocations: 4 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.008849, allocations: 4.094 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/0.008908, allocations: 11.98 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.008911, allocations: 0 / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.008937, allocations: 0 / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.008943, allocations: 4 kB / 278 MB, free: 12.36 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 7.339e-05/0.009017, allocations: 116.7 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.009088, allocations: 57.55 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.009115, allocations: 8.469 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.009119, allocations: 4 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.00912, allocations: 0 / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.009123, allocations: 4.031 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.00925, allocations: 85.83 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.009251, allocations: 0 / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.009294, allocations: 11.98 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.009298, allocations: 7.938 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.009305, allocations: 4.375 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.009306, allocations: 0 / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009307, allocations: 0 / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.719e-05/0.009394, allocations: 152.1 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.009435, allocations: 19.94 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.009455, allocations: 11.91 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.95e-05/0.009514, allocations: 4 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.009536, allocations: 0 / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.009544, allocations: 11.98 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.35e-05/0.009578, allocations: 28.81 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009578, allocations: 0 / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.009801, allocations: 12 kB / 278.5 MB, free: 11.77 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.208e-05/0.009883, allocations: 84.3 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.999e-05/0.009953, allocations: 28.78 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.009955, allocations: 4.188 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.009967, allocations: 8.859 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.0102, allocations: 37.09 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.01068, allocations: 261.5 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.703e-05/0.01073, allocations: 71.33 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.19e-05/0.01075, allocations: 0 / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.01081, allocations: 67.52 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01081, allocations: 0 / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Templates: time 0.002595/0.01341, allocations: 0.9455 MB / 280 MB, free: 10.22 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 -s gbode -gbm=radauIIA3 -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.7645081779919565]