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.001033/0.001033, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001066/0.001066, allocations: 168.4 kB / 25.61 MB, free: 8.906 MB / 18.57 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 0.9057/0.9057, allocations: 177.1 MB / 206.1 MB, free: 4.473 MB / 186.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.553e-06/1.553e-06, allocations: 0 / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.558e-05, allocations: 2.312 kB / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002157/0.002172, allocations: 1.655 MB / 275.9 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.003133, allocations: 0.5941 MB / 276.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.00324, allocations: 3.938 kB / 276.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.003465, allocations: 15.88 kB / 276.5 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.303e-05/0.003538, allocations: 20.78 kB / 276.5 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.003844, allocations: 72.25 kB / 276.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.003976, allocations: 63.77 kB / 276.6 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.004076, allocations: 12.95 kB / 276.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.004221, allocations: 51.83 kB / 276.7 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.004316, allocations: 24.56 kB / 276.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.004333, allocations: 4 kB / 276.7 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-05/0.004377, allocations: 14.3 kB / 276.7 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.004438, allocations: 19.92 kB / 276.8 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.004466, allocations: 15.94 kB / 276.8 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.004603, allocations: 59.73 kB / 276.8 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004605, allocations: 0 / 276.8 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.004607, allocations: 4 kB / 276.8 MB, free: 1.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.004613, allocations: 1.344 kB / 276.8 MB, free: 1.785 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.0004059/0.005018, allocations: 412.2 kB / 277.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.005058, allocations: 11.97 kB / 277.2 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.005174, allocations: 20.89 kB / 277.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.005335, allocations: 160.9 kB / 277.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.005352, allocations: 384 / 277.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.005362, allocations: 8.375 kB / 277.4 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.005566, allocations: 149.2 kB / 277.6 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.005574, allocations: 3.938 kB / 277.6 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.005583, allocations: 8 kB / 277.6 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.005587, allocations: 0 / 277.6 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.42e-05/0.005622, allocations: 11.98 kB / 277.6 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.005853, allocations: 255.8 kB / 277.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.914e-05/0.005932, allocations: 93.17 kB / 277.9 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.005967, allocations: 35.11 kB / 278 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.005982, allocations: 4 kB / 278 MB, free: 472 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.006007, allocations: 49.42 kB / 278 MB, free: 412 kB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.006008, allocations: 0 / 278 MB, free: 412 kB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001452/0.006153, allocations: 81.7 kB / 278.1 MB, free: 324 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.006208, allocations: 110.8 kB / 278.2 MB, free: 188 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.006305, allocations: 203.9 kB / 278.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.006315, allocations: 25.7 kB / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.006364, allocations: 142.8 kB / 278.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.006381, allocations: 11.88 kB / 278.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.006416, allocations: 27.38 kB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.006541, allocations: 0.4884 MB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.006553, allocations: 4 kB / 279.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.006577, allocations: 31.05 kB / 279.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.006616, allocations: 43.25 kB / 279.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.006618, allocations: 0 / 279.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.621e-05/0.006685, allocations: 65.52 kB / 279.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.006695, allocations: 4 kB / 279.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006699, allocations: 0 / 279.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.006708, allocations: 4 kB / 279.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.349e-05/0.006762, allocations: 11.92 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.006765, allocations: 4.094 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.006784, allocations: 4 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-06/0.006787, allocations: 0 / 279.3 MB, free: 15.05 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 8.262e-05/0.00687, allocations: 160.6 kB / 279.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.006928, allocations: 65.52 kB / 279.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.006957, allocations: 16.45 kB / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006959, allocations: 0 / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.006961, allocations: 0 / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.006966, allocations: 4 kB / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.864e-05/0.007064, allocations: 105.2 kB / 279.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.007066, allocations: 4.031 kB / 279.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.007094, allocations: 16 kB / 279.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.007097, allocations: 3.938 kB / 279.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.007103, allocations: 3.984 kB / 279.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.007104, allocations: 0 / 279.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007104, allocations: 4 kB / 279.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.359e-05/0.007198, allocations: 203.5 kB / 279.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.007225, allocations: 19.89 kB / 279.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.007244, allocations: 11.94 kB / 279.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.007278, allocations: 7.984 kB / 279.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.007303, allocations: 8.031 kB / 279.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.007305, allocations: 3.938 kB / 279.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.712e-05/0.007362, allocations: 150.1 kB / 280 MB, free: 14.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007362, allocations: 0 / 280 MB, free: 14.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.007508, allocations: 12 kB / 280.1 MB, free: 14.2 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 7.671e-05/0.007584, allocations: 99.23 kB / 280.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.119e-05/0.007666, allocations: 27.61 kB / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007666, allocations: 0 / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.48e-05/0.007681, allocations: 19.88 kB / 280.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.007929, allocations: 42.08 kB / 280.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.0084, allocations: 207.5 kB / 280.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.763e-05/0.008448, allocations: 75.12 kB / 280.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.295e-05/0.008471, allocations: 4 kB / 280.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.008535, allocations: 82.19 kB / 280.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008535, allocations: 4.156 kB / 280.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of Templates: time 0.002437/0.01097, allocations: 0.9668 MB / 281.6 MB, free: 12.62 MB / 266.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 -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.644298105034977]