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.001327/0.001327, allocations: 124.3 kB / 17.79 MB, free: 5.227 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.001414/0.001414, allocations: 199.3 kB / 20.74 MB, free: 2.281 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.409/1.409, allocations: 230.6 MB / 254.1 MB, free: 15.11 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 55.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09921, allocations: 53.33 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002755/0.102, allocations: 1.541 MB / 427.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1039, allocations: 0.8771 MB / 428.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.1039, allocations: 0 / 428.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.104, allocations: 11.86 kB / 428.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.72e-05/0.1041, allocations: 19.86 kB / 428.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1043, allocations: 51.88 kB / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.1045, allocations: 135.6 kB / 428.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.925e-05/0.1046, allocations: 27.97 kB / 429 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.105, allocations: 391.3 kB / 429.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1052, allocations: 67.69 kB / 429.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1052, allocations: 8 kB / 429.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.879e-05/0.1052, allocations: 12 kB / 429.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.892e-05/0.1053, allocations: 63.7 kB / 429.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1054, allocations: 107.2 kB / 429.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.1058, allocations: 362.4 kB / 430 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1058, allocations: 0 / 430 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1058, allocations: 0 / 430 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1058, allocations: 0 / 430 MB, free: 1.137 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.0007747/0.1066, allocations: 0.7421 MB / 430.7 MB, free: 328 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1066, allocations: 12.03 kB / 430.7 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.1066, allocations: 38.75 kB / 430.8 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.1067, allocations: 36.7 kB / 430.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.107, allocations: 274.7 kB / 431.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.107, allocations: 4.375 kB / 431.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.1071, allocations: 8.375 kB / 431.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.1074, allocations: 137.6 kB / 431.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1074, allocations: 4 kB / 431.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.1074, allocations: 4 kB / 431.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1074, allocations: 8 kB / 431.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.1075, allocations: 55.97 kB / 431.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/0.1082, allocations: 456.5 kB / 431.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1084, allocations: 74.48 kB / 431.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.1085, allocations: 68.83 kB / 431.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.1085, allocations: 0 / 431.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.1089, allocations: 202.4 kB / 432.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.1089, allocations: 0 / 432.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007904/0.1096, allocations: 468.2 kB / 432.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.1098, allocations: 170.2 kB / 432.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006327/0.1104, allocations: 0.513 MB / 433.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.1104, allocations: 29.7 kB / 433.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.1105, allocations: 109.1 kB / 433.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.1105, allocations: 23.84 kB / 433.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1106, allocations: 85.5 kB / 433.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1108, allocations: 326.8 kB / 433.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1109, allocations: 63.91 kB / 433.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.111, allocations: 65.69 kB / 433.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.1114, allocations: 343.3 kB / 434.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1114, allocations: 0 / 434.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005431/0.1119, allocations: 372.4 kB / 434.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/0.112, allocations: 134.7 kB / 434.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.112, allocations: 0 / 434.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.112, allocations: 4 kB / 434.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.756e-05/0.1121, allocations: 0 / 434.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1121, allocations: 0 / 434.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.1122, allocations: 15.94 kB / 434.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.1123, allocations: 40.03 kB / 434.8 MB, free: 11.89 MB / 366.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.0003533/0.1126, allocations: 370.2 kB / 435.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.1127, allocations: 35.81 kB / 435.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.1128, allocations: 63.16 kB / 435.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1128, allocations: 0 / 435.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1128, allocations: 4 kB / 435.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1128, allocations: 7.922 kB / 435.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.1138, allocations: 0.8134 MB / 436.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1138, allocations: 7.984 kB / 436.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-06/0.1138, allocations: 4 kB / 436.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1138, allocations: 0 / 436.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1138, allocations: 8.188 kB / 436.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.1138, allocations: 4 kB / 436.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1138, allocations: 3.938 kB / 436.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006555/0.1145, allocations: 0.5242 MB / 436.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.1148, allocations: 244.6 kB / 436.8 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.1148, allocations: 16 kB / 436.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1149, allocations: 11.98 kB / 436.9 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.308e-05/0.115, allocations: 23.92 kB / 436.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.1151, allocations: 47.92 kB / 436.9 MB, free: 9.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004764/0.1156, allocations: 390.8 kB / 437.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1156, allocations: 0 / 437.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.1158, allocations: 44 kB / 437.4 MB, free: 9.121 MB / 366.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.0009863/0.1168, allocations: 1.082 MB / 438.4 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004951/0.1173, allocations: 377.5 kB / 438.8 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1173, allocations: 0 / 438.8 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.1176, allocations: 297.6 kB / 439.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006184/0.1182, allocations: 130.8 kB / 439.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.1218, allocations: 2.747 MB / 442 MB, free: 4.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.1223, allocations: 0.806 MB / 442.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.325e-05/0.1224, allocations: 12.64 kB / 442.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.1225, allocations: 23.44 kB / 442.8 MB, free: 3.383 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1225, allocations: 0 / 442.8 MB, free: 3.383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1963/0.3188, allocations: 5.779 MB / 448.6 MB, free: 24.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.244, allocations: 7.094 kB / 448.6 MB, free: 24.66 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] 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: 10.55381703702733]