Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001778/0.001778, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00197/0.00197, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.475/1.475, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 72.06 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2378, allocations: 53.32 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002651/0.2404, allocations: 1.545 MB / 433.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.2424, allocations: 0.8849 MB / 434.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.2424, allocations: 7.938 kB / 434.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.067e-05/0.2425, allocations: 7.922 kB / 434.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.2426, allocations: 15.88 kB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.2429, allocations: 55.81 kB / 434.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.2431, allocations: 135.7 kB / 434.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.286e-05/0.2431, allocations: 8 kB / 434.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005095/0.2437, allocations: 399.2 kB / 435.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.2438, allocations: 71.69 kB / 435.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.2438, allocations: 8 kB / 435.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.018e-05/0.2439, allocations: 8 kB / 435.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.244, allocations: 67.75 kB / 435.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.2441, allocations: 115.1 kB / 435.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.2445, allocations: 360.1 kB / 435.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2445, allocations: 0 / 435.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2445, allocations: 3.938 kB / 435.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2445, allocations: 0 / 435.7 MB, free: 3.727 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008654/0.2454, allocations: 0.7344 MB / 436.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2454, allocations: 8.031 kB / 436.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.214e-05/0.2455, allocations: 40.7 kB / 436.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.2458, allocations: 278.6 kB / 436.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2459, allocations: 8.375 kB / 436.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.2459, allocations: 8.375 kB / 436.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.2462, allocations: 133.8 kB / 436.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2462, allocations: 0 / 436.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.2462, allocations: 8 kB / 436.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.2462, allocations: 0 / 436.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.2464, allocations: 55.97 kB / 437 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.2471, allocations: 460.5 kB / 437.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.2473, allocations: 74.55 kB / 437.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.2474, allocations: 60.89 kB / 437.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.2475, allocations: 0 / 437.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000345/0.2478, allocations: 198.7 kB / 437.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.2478, allocations: 112 / 437.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008666/0.2487, allocations: 472.1 kB / 438.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.2488, allocations: 170.2 kB / 438.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006864/0.2495, allocations: 0.5169 MB / 438.9 MB, free: 260 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.2495, allocations: 29.7 kB / 438.9 MB, free: 224 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.2496, allocations: 105.1 kB / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.2496, allocations: 31.78 kB / 439.1 MB, free: 84 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.2498, allocations: 81.56 kB / 439.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2499, allocations: 326.7 kB / 439.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.2501, allocations: 55.97 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.2502, allocations: 77.67 kB / 439.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.2506, allocations: 342.3 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2506, allocations: 0 / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005564/0.2511, allocations: 372.3 kB / 440.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.2512, allocations: 126.8 kB / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2512, allocations: 0 / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2513, allocations: 0 / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.81e-05/0.2513, allocations: 0 / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-06/0.2513, allocations: 4 kB / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.2514, allocations: 23.97 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.2515, allocations: 36 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0003782/0.2519, allocations: 366.2 kB / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.2519, allocations: 35.94 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.252, allocations: 67.09 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.252, allocations: 7.938 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.252, allocations: 0 / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.2524, allocations: 244.6 kB / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.2524, allocations: 16 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.2526, allocations: 11.94 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2527, allocations: 23.97 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007586/0.2534, allocations: 0.6887 MB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007429/0.2542, allocations: 0.6028 MB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001616/0.2543, allocations: 75.95 kB / 442.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004983/0.2548, allocations: 390.9 kB / 443 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Backend: time 5.21e-07/0.2548, allocations: 0 / 443 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007094/0.2555, allocations: 388 kB / 443.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of SimCode: time 0.001607/0.2571, allocations: 1.328 MB / 444.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of Templates: time 0.007566/0.2647, allocations: 3.863 MB / 448.6 MB, free: 6.164 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.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: 4.413544506765902]