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.001256/0.001256, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001381/0.001381, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.386/1.386, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001553/0.001553, allocations: 47.92 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2384, allocations: 53.36 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.00334/0.2418, allocations: 1.644 MB / 434 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.243, allocations: 0.6192 MB / 434.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.2431, allocations: 3.938 kB / 434.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.2434, allocations: 19.86 kB / 434.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.38e-05/0.2435, allocations: 11.94 kB / 434.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.2438, allocations: 83.72 kB / 434.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.244, allocations: 59.84 kB / 434.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.2441, allocations: 15.98 kB / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.2443, allocations: 39.78 kB / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2444, allocations: 35.84 kB / 434.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.2444, allocations: 4 kB / 434.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.172e-05/0.2444, allocations: 4 kB / 434.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.2445, allocations: 27.91 kB / 435 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.2445, allocations: 35.73 kB / 435 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.2447, allocations: 76.92 kB / 435.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2447, allocations: 0 / 435.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2447, allocations: 0 / 435.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2447, allocations: 0 / 435.1 MB, free: 4.262 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.0005294/0.2453, allocations: 313.9 kB / 435.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2453, allocations: 8.031 kB / 435.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.2455, allocations: 24.81 kB / 435.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.2458, allocations: 154.9 kB / 435.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.2458, allocations: 384 / 435.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.2458, allocations: 12.12 kB / 435.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.2462, allocations: 141.9 kB / 435.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2462, allocations: 0 / 435.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.2462, allocations: 11.98 kB / 435.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2462, allocations: 7.938 kB / 435.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.2463, allocations: 27.92 kB / 435.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.2467, allocations: 257.5 kB / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.2468, allocations: 83.77 kB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.2469, allocations: 46.69 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.247, allocations: 4 kB / 436.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.247, allocations: 34.56 kB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.247, allocations: 0 / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003109/0.2473, allocations: 105.5 kB / 436.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/0.2474, allocations: 114.8 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.2476, allocations: 144.1 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.2476, allocations: 33.64 kB / 436.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.2476, allocations: 96.34 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.2477, allocations: 11.94 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.2477, allocations: 21.72 kB / 436.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2479, allocations: 326.8 kB / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.688e-05/0.2479, allocations: 19.98 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.751e-05/0.248, allocations: 62 kB / 437.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.2482, allocations: 81.88 kB / 437.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2482, allocations: 0 / 437.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002048/0.2484, allocations: 105.5 kB / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2484, allocations: 4 kB / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2484, allocations: 4 kB / 437.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2484, allocations: 0 / 437.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.2485, allocations: 24.39 kB / 437.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2485, allocations: 8 kB / 437.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.643e-05/0.2486, allocations: 11.94 kB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2486, allocations: 4 kB / 437.3 MB, free: 1.715 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.0001212/0.2487, allocations: 125.8 kB / 437.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.2488, allocations: 73.53 kB / 437.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.2489, allocations: 8.406 kB / 437.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2489, allocations: 4 kB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2489, allocations: 0 / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.2489, allocations: 11.95 kB / 437.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.2491, allocations: 152.7 kB / 437.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2491, allocations: 0 / 437.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.2491, allocations: 16.11 kB / 437.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2491, allocations: 4 kB / 437.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.2492, allocations: 3.938 kB / 437.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2492, allocations: 0 / 437.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2492, allocations: 0 / 437.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.2494, allocations: 205.1 kB / 437.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.2494, allocations: 19.94 kB / 437.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.2495, allocations: 4 kB / 437.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.2495, allocations: 0 / 437.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.2496, allocations: 4 kB / 437.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.2496, allocations: 7.922 kB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.519e-05/0.2497, allocations: 120.8 kB / 438.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2497, allocations: 4 kB / 438.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.2499, allocations: 8 kB / 438.1 MB, free: 0.875 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.0001255/0.25, allocations: 107.3 kB / 438.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.2502, allocations: 51.91 kB / 438.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2502, allocations: 0 / 438.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.2503, allocations: 8.438 kB / 438.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.2507, allocations: 55.97 kB / 438.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.2512, allocations: 238.7 kB / 438.5 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.2516, allocations: 0.704 MB / 439.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.2516, allocations: 11.44 kB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2516, allocations: 0 / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Templates: time 0.003092/0.2547, allocations: 1.116 MB / 440.4 MB, free: 14.53 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: 6.754141714889556]