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.0009659/0.0009659, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.004554/0.004554, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9798/0.9798, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.393e-06/1.393e-06, allocations: 0 / 273.5 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.927e-05, allocations: 5.266 kB / 273.5 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002073/0.002093, allocations: 1.706 MB / 275.2 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007831/0.002876, allocations: 0.5984 MB / 275.8 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.00295, allocations: 7.938 kB / 275.8 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.00314, allocations: 23.8 kB / 275.8 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.00319, allocations: 7.922 kB / 275.9 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.003435, allocations: 76.11 kB / 275.9 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.003539, allocations: 71.77 kB / 276 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.953e-05/0.003609, allocations: 8 kB / 276 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.00372, allocations: 51.81 kB / 276.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.003799, allocations: 27.91 kB / 276.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.003815, allocations: 4 kB / 276.1 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.578e-05/0.003861, allocations: 8 kB / 276.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.003909, allocations: 15.92 kB / 276.1 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.003932, allocations: 19.92 kB / 276.1 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.004047, allocations: 59.75 kB / 276.2 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004049, allocations: 0 / 276.2 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.00405, allocations: 4 kB / 276.2 MB, free: 1.707 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.004057, allocations: 0 / 276.2 MB, free: 1.707 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.0002997/0.004356, allocations: 292.5 kB / 276.5 MB, free: 1.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.004386, allocations: 12.03 kB / 276.5 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.004498, allocations: 16.92 kB / 276.5 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.004647, allocations: 150.1 kB / 276.7 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.004661, allocations: 384 / 276.7 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.004668, allocations: 4.375 kB / 276.7 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.004845, allocations: 139.1 kB / 276.8 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.004853, allocations: 3.938 kB / 276.8 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.004861, allocations: 4 kB / 276.8 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.004866, allocations: 0 / 276.8 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.096e-05/0.004897, allocations: 14.81 kB / 276.8 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.00506, allocations: 164.8 kB / 277 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.005122, allocations: 67.84 kB / 277 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.005148, allocations: 30.58 kB / 277.1 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.005162, allocations: 4 kB / 277.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.005183, allocations: 38.5 kB / 277.1 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.005184, allocations: 0 / 277.1 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001219/0.005306, allocations: 69.55 kB / 277.2 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.005357, allocations: 110.8 kB / 277.3 MB, free: 448 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.005436, allocations: 144.7 kB / 277.4 MB, free: 292 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.005447, allocations: 29.7 kB / 277.5 MB, free: 256 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.005476, allocations: 96.03 kB / 277.6 MB, free: 156 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.005492, allocations: 12.2 kB / 277.6 MB, free: 144 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.005516, allocations: 17.7 kB / 277.6 MB, free: 120 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.005596, allocations: 314.8 kB / 277.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-06/0.005605, allocations: 4 kB / 277.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/0.005624, allocations: 30.5 kB / 277.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.005654, allocations: 25.41 kB / 277.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.005656, allocations: 4 kB / 278 MB, free: 15.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.317e-05/0.005709, allocations: 57.61 kB / 278 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.00572, allocations: 8 kB / 278 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.005723, allocations: 0 / 278 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.005732, allocations: 0 / 278 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.005783, allocations: 11.94 kB / 278 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.005786, allocations: 3.984 kB / 278 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.005807, allocations: 11.92 kB / 278 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.005811, allocations: 384 / 278 MB, free: 15.62 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 5.932e-05/0.005871, allocations: 120.7 kB / 278.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.005918, allocations: 57.56 kB / 278.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.005943, allocations: 24.52 kB / 278.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.005944, allocations: 0 / 278.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.005946, allocations: 0 / 278.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.00595, allocations: 7.984 kB / 278.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.11e-05/0.006031, allocations: 77.83 kB / 278.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.006032, allocations: 0 / 278.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.00606, allocations: 12 kB / 278.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.006062, allocations: 3.984 kB / 278.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.006068, allocations: 3.938 kB / 278.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.00607, allocations: 4 kB / 278.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006071, allocations: 3.938 kB / 278.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.5e-05/0.006136, allocations: 152 kB / 278.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.006161, allocations: 11.95 kB / 278.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.006177, allocations: 11.92 kB / 278.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.288e-05/0.00621, allocations: 4 kB / 278.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.006229, allocations: 4 kB / 278.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006232, allocations: 0 / 278.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.269e-05/0.006255, allocations: 31.45 kB / 278.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006255, allocations: 0 / 278.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001288/0.006384, allocations: 12 kB / 278.6 MB, free: 15.03 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 6.738e-05/0.006451, allocations: 84.44 kB / 278.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.26e-05/0.006514, allocations: 24.8 kB / 278.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.006516, allocations: 0 / 278.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.878e-06/0.006526, allocations: 8.844 kB / 278.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.00671, allocations: 44.97 kB / 278.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.007118, allocations: 265.9 kB / 279 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.708e-05/0.007155, allocations: 71.2 kB / 279.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.185e-05/0.007177, allocations: 7.984 kB / 279.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.007229, allocations: 59.38 kB / 279.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007229, allocations: 0 / 279.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of Templates: time 0.002284/0.009513, allocations: 0.9237 MB / 280.1 MB, free: 13.5 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 -s gbode -gbm=radauIIA3 -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.5542875910177827]