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.001599/0.001599, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001755/0.001755, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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 1.452/1.452, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00166/0.00166, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2654, allocations: 53.36 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.003294/0.2687, allocations: 1.617 MB / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.27, allocations: 0.5725 MB / 434.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.786e-05/0.2701, allocations: 4 kB / 434.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.2704, allocations: 27.78 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.295e-05/0.2704, allocations: 11.92 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.2708, allocations: 71.75 kB / 434.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.271, allocations: 71.75 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.2711, allocations: 12 kB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.2712, allocations: 43.83 kB / 434.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.2713, allocations: 23.86 kB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.2713, allocations: 4 kB / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.841e-05/0.2714, allocations: 12 kB / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.2715, allocations: 23.92 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.2715, allocations: 35.72 kB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.2717, allocations: 74.33 kB / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2717, allocations: 0 / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2717, allocations: 0 / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.2717, allocations: 0 / 434.9 MB, free: 4.082 MB / 334.1 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.0005268/0.2723, allocations: 317.9 kB / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2723, allocations: 8.031 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.2725, allocations: 20.84 kB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.2728, allocations: 149 kB / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.2728, allocations: 384 / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.2728, allocations: 12.06 kB / 435.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.2732, allocations: 153.8 kB / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2732, allocations: 0 / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2732, allocations: 0 / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2732, allocations: 4 kB / 435.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2733, allocations: 35.91 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.2737, allocations: 226.2 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.2739, allocations: 75.72 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/0.274, allocations: 54.67 kB / 436 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.274, allocations: 0 / 436 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.274, allocations: 34.56 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.274, allocations: 3.938 kB / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003304/0.2743, allocations: 109.5 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/0.2744, allocations: 118.7 kB / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.2746, allocations: 149.4 kB / 436.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.2746, allocations: 25.7 kB / 436.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.2747, allocations: 88.14 kB / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.2747, allocations: 11.94 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.2747, allocations: 21.72 kB / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2749, allocations: 326.8 kB / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.727e-05/0.2749, allocations: 16.23 kB / 436.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.94e-05/0.275, allocations: 73.94 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2752, allocations: 77.88 kB / 437 MB, free: 1.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2752, allocations: 256 / 437 MB, free: 1.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002198/0.2754, allocations: 113.5 kB / 437.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2754, allocations: 4 kB / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2754, allocations: 8 kB / 437.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2754, allocations: 0 / 437.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.2755, allocations: 19.92 kB / 437.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.2755, allocations: 4 kB / 437.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.2756, allocations: 4 kB / 437.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.2756, allocations: 4.219 kB / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (9): * Single equations (assignments): 9 * 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 0.0001224/0.2757, allocations: 133.8 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2758, allocations: 73.53 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.2759, allocations: 8.406 kB / 437.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2759, allocations: 4 kB / 437.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2759, allocations: 0 / 437.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.2759, allocations: 3.984 kB / 437.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.2761, allocations: 125.2 kB / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2761, allocations: 0 / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.2761, allocations: 19.97 kB / 437.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2761, allocations: 4.031 kB / 437.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2762, allocations: 8 kB / 437.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2762, allocations: 3.938 kB / 437.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2762, allocations: 0 / 437.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.2764, allocations: 189.1 kB / 437.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.2765, allocations: 19.94 kB / 437.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.2765, allocations: 8.172 kB / 437.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.2766, allocations: 4 kB / 437.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.2766, allocations: 7.938 kB / 437.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.2766, allocations: 0 / 437.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.096e-05/0.2767, allocations: 119.2 kB / 437.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2767, allocations: 0 / 437.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.2769, allocations: 12 kB / 437.9 MB, free: 0.7852 MB / 334.1 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 0.0001091/0.277, allocations: 103.2 kB / 438 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.2772, allocations: 51.91 kB / 438 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.2772, allocations: 4 kB / 438 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.2773, allocations: 12.36 kB / 438.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.2777, allocations: 48.25 kB / 438.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.2782, allocations: 246.7 kB / 438.3 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.093e-05/0.2783, allocations: 84.98 kB / 438.4 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.2783, allocations: 15.44 kB / 438.4 MB, free: 168 kB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2783, allocations: 0 / 438.4 MB, free: 168 kB / 334.1 MB Notification: Performance of Templates: time 0.003078/0.2814, allocations: 1.129 MB / 439.6 MB, free: 15.05 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.0537405060604215]