Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 159.1 kB / 24.48 MB, free: 3.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 173.4 MB / 201.1 MB, free: 12.59 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 46.75 kB / 319.4 MB, free: 3.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09906, allocations: 52.16 MB / 371.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002922/0.102, allocations: 1.49 MB / 373.1 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.1039, allocations: 0.8088 MB / 373.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.1039, allocations: 0 / 373.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.107e-05/0.104, allocations: 11.86 kB / 373.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.1041, allocations: 15.88 kB / 373.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.1043, allocations: 55.88 kB / 373.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.1046, allocations: 139.7 kB / 374.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.1046, allocations: 11.98 kB / 374.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.1051, allocations: 395.2 kB / 374.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1053, allocations: 59.77 kB / 374.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.1053, allocations: 12 kB / 374.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.519e-05/0.1054, allocations: 12 kB / 374.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1055, allocations: 71.64 kB / 374.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1056, allocations: 79.42 kB / 374.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.106, allocations: 366.4 kB / 375.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.106, allocations: 0 / 375.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.106, allocations: 4 kB / 375.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.106, allocations: 0 / 375.1 MB, free: 3.988 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.0007649/0.1068, allocations: 0.6514 MB / 375.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1068, allocations: 8.922 kB / 375.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.978e-05/0.1069, allocations: 44.7 kB / 375.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.1072, allocations: 220.7 kB / 376 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.1072, allocations: 8.375 kB / 376 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1072, allocations: 8.375 kB / 376 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.1076, allocations: 244.7 kB / 376.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1076, allocations: 0 / 376.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1076, allocations: 4 kB / 376.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1076, allocations: 0 / 376.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.1079, allocations: 182.7 kB / 376.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.1085, allocations: 384.2 kB / 376.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.1087, allocations: 193.3 kB / 377 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.109, allocations: 187.6 kB / 377.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.109, allocations: 3.984 kB / 377.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.1094, allocations: 321.5 kB / 377.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.1094, allocations: 0 / 377.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009827/0.1104, allocations: 0.6932 MB / 378.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.1105, allocations: 166.2 kB / 378.3 MB, free: 324 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007013/0.1112, allocations: 0.5207 MB / 378.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.1112, allocations: 29.7 kB / 378.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.1113, allocations: 97.09 kB / 379 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.1114, allocations: 35.77 kB / 379 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1115, allocations: 85.56 kB / 379.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1116, allocations: 326.8 kB / 379.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1118, allocations: 178.7 kB / 379.6 MB, free: 15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.112, allocations: 192.5 kB / 379.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.1124, allocations: 355.2 kB / 380.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1124, allocations: 0 / 380.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006248/0.113, allocations: 0.4913 MB / 380.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.1131, allocations: 122.8 kB / 380.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1131, allocations: 8.047 kB / 380.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1132, allocations: 7.969 kB / 380.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.236e-05/0.1132, allocations: 4 kB / 380.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.1132, allocations: 0 / 380.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.1133, allocations: 15.98 kB / 380.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.1134, allocations: 39.94 kB / 380.8 MB, free: 13.61 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.0003733/0.1138, allocations: 366.5 kB / 381.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.1138, allocations: 39.77 kB / 381.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.1139, allocations: 67.08 kB / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1139, allocations: 0 / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1139, allocations: 4 kB / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1139, allocations: 0 / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.115, allocations: 0.8623 MB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.115, allocations: 0 / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-06/0.115, allocations: 4 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.115, allocations: 0 / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.115, allocations: 11.98 kB / 382.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.115, allocations: 0 / 382.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.115, allocations: 0 / 382.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007559/0.1158, allocations: 0.657 MB / 382.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.1161, allocations: 197.4 kB / 383 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.1162, allocations: 16.25 kB / 383 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1163, allocations: 15.98 kB / 383 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1164, allocations: 23.92 kB / 383.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-05/0.1165, allocations: 43.98 kB / 383.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004821/0.117, allocations: 386.9 kB / 383.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.117, allocations: 0 / 383.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.1173, allocations: 47.88 kB / 383.5 MB, free: 10.71 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.0001291/0.1174, allocations: 115 kB / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.118, allocations: 0.6046 MB / 384.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.118, allocations: 4.062 kB / 384.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.1184, allocations: 428.3 kB / 384.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.119, allocations: 131.2 kB / 384.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1202, allocations: 0.7731 MB / 385.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1205, allocations: 197.6 kB / 385.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.001e-05/0.1205, allocations: 8.719 kB / 385.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.1205, allocations: 20.5 kB / 385.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1205, allocations: 0 / 385.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of Templates: time 0.00855/0.1291, allocations: 4.776 MB / 390.6 MB, free: 3.496 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.4503035199595615]