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.00703/0.00703, allocations: 109.2 kB / 21.98 MB, free: 5.18 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.001551/0.001551, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.495/1.495, allocations: 230.6 MB / 259 MB, free: 8.047 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.001895/0.001895, allocations: 75.86 kB / 379.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2547, allocations: 53.36 MB / 433.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002805/0.2575, allocations: 1.542 MB / 434.7 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.2596, allocations: 0.9004 MB / 435.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.2596, allocations: 0 / 435.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.335e-05/0.2597, allocations: 11.86 kB / 435.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.2598, allocations: 11.88 kB / 435.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.2601, allocations: 63.86 kB / 435.7 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.2603, allocations: 131.7 kB / 435.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.2604, allocations: 15.98 kB / 435.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.2609, allocations: 399.2 kB / 436.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.261, allocations: 67.77 kB / 436.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.2611, allocations: 12 kB / 436.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.551e-05/0.2611, allocations: 8 kB / 436.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2612, allocations: 71.64 kB / 436.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.2613, allocations: 107.2 kB / 436.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.2617, allocations: 359.8 kB / 436.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2617, allocations: 3.938 kB / 436.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2617, allocations: 0 / 436.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.2617, allocations: 4 kB / 436.9 MB, free: 3.305 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.0008079/0.2626, allocations: 0.6436 MB / 437.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2626, allocations: 19.97 kB / 437.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.2627, allocations: 36.7 kB / 437.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.263, allocations: 216.8 kB / 437.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.263, allocations: 8.375 kB / 437.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.263, allocations: 8.375 kB / 437.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.2633, allocations: 129.9 kB / 437.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2633, allocations: 0 / 437.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.2633, allocations: 0 / 437.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2634, allocations: 4 kB / 437.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.2635, allocations: 59.91 kB / 438 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.2642, allocations: 431.6 kB / 438.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.2644, allocations: 78.47 kB / 438.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.2645, allocations: 60.89 kB / 438.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.2645, allocations: 0 / 438.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003896/0.2649, allocations: 198.7 kB / 438.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.2649, allocations: 0 / 438.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008176/0.2657, allocations: 460.3 kB / 439.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.2658, allocations: 174.1 kB / 439.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006877/0.2665, allocations: 0.513 MB / 439.9 MB, free: 60 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.2665, allocations: 29.7 kB / 439.9 MB, free: 24 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.2666, allocations: 105.2 kB / 440 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.2667, allocations: 27.8 kB / 440 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.2668, allocations: 85.5 kB / 440.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.267, allocations: 330.8 kB / 440.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.2671, allocations: 51.97 kB / 440.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.2672, allocations: 74.95 kB / 440.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.2676, allocations: 338.2 kB / 440.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2676, allocations: 0 / 440.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000556/0.2682, allocations: 372.3 kB / 441.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.2683, allocations: 130.8 kB / 441.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2683, allocations: 0 / 441.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2683, allocations: 3.938 kB / 441.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.674e-05/0.2683, allocations: 8.125 kB / 441.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2683, allocations: 0 / 441.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.2685, allocations: 15.94 kB / 441.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.2685, allocations: 36 kB / 441.4 MB, free: 14.35 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.0003754/0.2689, allocations: 362.2 kB / 441.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.2689, allocations: 43.83 kB / 441.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.269, allocations: 67.08 kB / 441.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2691, allocations: 0 / 441.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2691, allocations: 0 / 441.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2691, allocations: 0 / 441.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.2701, allocations: 0.789 MB / 442.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2701, allocations: 0 / 442.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-06/0.2701, allocations: 0 / 442.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2701, allocations: 0 / 442.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.2701, allocations: 15.98 kB / 442.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2702, allocations: 4 kB / 442.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2702, allocations: 3.938 kB / 442.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000675/0.2708, allocations: 0.5215 MB / 443.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.2712, allocations: 209.3 kB / 443.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.2713, allocations: 11.94 kB / 443.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.2714, allocations: 15.98 kB / 443.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.2715, allocations: 19.92 kB / 443.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.2716, allocations: 51.92 kB / 443.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004946/0.2721, allocations: 386.9 kB / 443.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2721, allocations: 0 / 443.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.2723, allocations: 44 kB / 443.9 MB, free: 11.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001535/0.2725, allocations: 111.1 kB / 444.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005378/0.273, allocations: 373.5 kB / 444.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.273, allocations: 0 / 444.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.2733, allocations: 301.6 kB / 444.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.2739, allocations: 132.2 kB / 444.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.2752, allocations: 0.7017 MB / 445.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.2758, allocations: 0.7944 MB / 446.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.2758, allocations: 15.44 kB / 446.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2758, allocations: 4 kB / 446.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of Templates: time 0.004894/0.2807, allocations: 2.492 MB / 448.8 MB, free: 6.629 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 7.6199177040252835]