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.001156/0.001156, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001325/0.001325, allocations: 170.9 kB / 24.82 MB, free: 9.312 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.9851/0.9851, allocations: 177.1 MB / 205.3 MB, free: 5.508 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 2.434e-06/2.434e-06, allocations: 0 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.447e-05, allocations: 6.25 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002996/0.00302, allocations: 1.657 MB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.004062, allocations: 0.5919 MB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.004155, allocations: 7.938 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.004373, allocations: 19.88 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.004442, allocations: 15.84 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.004769, allocations: 71.62 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.004894, allocations: 71.75 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.004979, allocations: 8 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.005116, allocations: 43.83 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.005204, allocations: 23.97 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.005223, allocations: 4 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.401e-05/0.005267, allocations: 12 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.005329, allocations: 23.91 kB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.005359, allocations: 15.94 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.005501, allocations: 67.67 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.005503, allocations: 0 / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005503, allocations: 0 / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.005507, allocations: 0 / 276 MB, free: 14.65 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.0004313/0.005938, allocations: 416.2 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.005978, allocations: 12.03 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.006104, allocations: 24.84 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.006278, allocations: 156.9 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.006294, allocations: 4.375 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.006305, allocations: 8.375 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.006538, allocations: 145.2 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.006547, allocations: 3.938 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.006558, allocations: 11.98 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.006566, allocations: 3.984 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.423e-05/0.0066, allocations: 15.94 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.006841, allocations: 251.8 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.538e-05/0.006926, allocations: 93.17 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.006966, allocations: 31.12 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.006986, allocations: 3.984 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.007015, allocations: 49.39 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.007016, allocations: 0 / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001726/0.007189, allocations: 69.58 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.007252, allocations: 123 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.007383, allocations: 201 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.007396, allocations: 25.7 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.007452, allocations: 138.9 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.007472, allocations: 15.81 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.007511, allocations: 23.38 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.007664, allocations: 0.4923 MB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.007676, allocations: 0 / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.007707, allocations: 31.06 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.904e-05/0.007756, allocations: 46.98 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.007758, allocations: 0 / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.849e-05/0.007846, allocations: 65.45 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007861, allocations: 8 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.007866, allocations: 0 / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.007878, allocations: 0 / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.007942, allocations: 11.98 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.007945, allocations: 0 / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.007973, allocations: 0 / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.007979, allocations: 8.094 kB / 278.5 MB, free: 11.91 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.994e-05/0.008069, allocations: 160.6 kB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.00816, allocations: 69.89 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.008193, allocations: 12.52 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.008198, allocations: 8 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.0082, allocations: 0 / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.008203, allocations: 0 / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.008358, allocations: 113.2 kB / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.00836, allocations: 0 / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.00841, allocations: 12 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.008416, allocations: 11.95 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.008423, allocations: 4 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.008425, allocations: 3.938 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008426, allocations: 0 / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.008542, allocations: 199.3 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.008581, allocations: 19.94 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.0086, allocations: 3.938 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.084e-05/0.008661, allocations: 7.984 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.008683, allocations: 4 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.00869, allocations: 4 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.293e-05/0.008753, allocations: 147.2 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008753, allocations: 0 / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.009005, allocations: 8 kB / 279.3 MB, free: 11.06 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 9.483e-05/0.0091, allocations: 107.2 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.412e-05/0.009194, allocations: 27.67 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009196, allocations: 3.938 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.009213, allocations: 11.69 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.009575, allocations: 47.88 kB / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.01013, allocations: 223.3 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.01018, allocations: 67.33 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.862e-05/0.01021, allocations: 4 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.01029, allocations: 82.19 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01029, allocations: 0 / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of Templates: time 0.003314/0.0136, allocations: 0.96 MB / 280.8 MB, free: 9.484 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.834029118064791]