Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.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.001766/0.001766, allocations: 67.77 kB / 21.24 MB, free: 0.543 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.00203/0.00203, allocations: 158.8 kB / 24.5 MB, free: 3.707 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.412/1.412, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.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.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.8 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09459, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002755/0.09734, allocations: 1.493 MB / 380.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.09935, allocations: 0.8265 MB / 381.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.0994, allocations: 4 kB / 381.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.034e-05/0.09949, allocations: 11.86 kB / 381.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.09957, allocations: 15.86 kB / 381.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.09983, allocations: 59.81 kB / 381.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1, allocations: 139.7 kB / 381.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.22e-05/0.1001, allocations: 8 kB / 381.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/0.1006, allocations: 403.2 kB / 381.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1008, allocations: 63.7 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.1008, allocations: 8 kB / 381.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.68e-05/0.1008, allocations: 12 kB / 381.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.1009, allocations: 63.75 kB / 382 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.101, allocations: 83.3 kB / 382.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004581/0.1015, allocations: 362.5 kB / 382.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1015, allocations: 4 kB / 382.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1015, allocations: 0 / 382.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1015, allocations: 3.938 kB / 382.4 MB, free: 12.09 MB / 350.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.0007967/0.1023, allocations: 0.6552 MB / 383.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1023, allocations: 8.031 kB / 383.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.1024, allocations: 40.7 kB / 383.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.1027, allocations: 216.8 kB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.1027, allocations: 4.375 kB / 383.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.1028, allocations: 8.375 kB / 383.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.1031, allocations: 244.7 kB / 383.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1032, allocations: 8 kB / 383.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.1032, allocations: 7.984 kB / 383.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1032, allocations: 11.98 kB / 383.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.1034, allocations: 170.8 kB / 383.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.104, allocations: 392.2 kB / 384.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1043, allocations: 189.3 kB / 384.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.1045, allocations: 183.7 kB / 384.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.1045, allocations: 0 / 384.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000429/0.1049, allocations: 317.5 kB / 384.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1049, allocations: 4 kB / 384.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001018/0.106, allocations: 0.7045 MB / 385.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.1061, allocations: 162.2 kB / 385.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007351/0.1068, allocations: 0.5246 MB / 386.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1068, allocations: 25.7 kB / 386.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.1069, allocations: 101.2 kB / 386.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.107, allocations: 31.72 kB / 386.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.1071, allocations: 81.52 kB / 386.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1072, allocations: 326.8 kB / 386.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.1075, allocations: 182.7 kB / 387 MB, free: 7.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.1077, allocations: 196.5 kB / 387.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.1081, allocations: 347.3 kB / 387.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1081, allocations: 0 / 387.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006728/0.1087, allocations: 0.4913 MB / 388 MB, free: 5.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.1088, allocations: 130.8 kB / 388.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1089, allocations: 0 / 388.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1089, allocations: 0 / 388.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.057e-05/0.1089, allocations: 4 kB / 388.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1089, allocations: 0 / 388.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.109, allocations: 15.97 kB / 388.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.1091, allocations: 40 kB / 388.2 MB, free: 5.723 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.0003887/0.1095, allocations: 367.1 kB / 388.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.1095, allocations: 39.77 kB / 388.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.1097, allocations: 71.06 kB / 388.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1097, allocations: 3.938 kB / 388.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1097, allocations: 4 kB / 388.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1097, allocations: 0 / 388.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.1108, allocations: 0.8511 MB / 389.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1108, allocations: 0 / 389.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-06/0.1108, allocations: 4 kB / 389.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1108, allocations: 0 / 389.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.1108, allocations: 20.17 kB / 389.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1108, allocations: 4 kB / 389.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1108, allocations: 0 / 389.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.1116, allocations: 0.6567 MB / 390.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.112, allocations: 201.4 kB / 390.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.112, allocations: 12 kB / 390.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.1122, allocations: 11.98 kB / 390.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.1123, allocations: 23.98 kB / 390.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/0.1123, allocations: 43.92 kB / 390.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005254/0.1128, allocations: 390.9 kB / 390.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1128, allocations: 0 / 390.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.1131, allocations: 51.94 kB / 390.9 MB, free: 2.801 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.000142/0.1133, allocations: 115 kB / 391 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007111/0.114, allocations: 0.6161 MB / 391.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.114, allocations: 0 / 391.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.1144, allocations: 420.4 kB / 392 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.1151, allocations: 133.9 kB / 392.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1163, allocations: 0.781 MB / 393 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1166, allocations: 194.3 kB / 393.2 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.088e-05/0.1166, allocations: 8.719 kB / 393.2 MB, free: 320 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.1166, allocations: 16.48 kB / 393.2 MB, free: 304 kB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1167, allocations: 0 / 393.2 MB, free: 304 kB / 350.1 MB Notification: Performance of Templates: time 0.00927/0.1259, allocations: 4.794 MB / 398 MB, free: 11.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.255713786114939]