Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008463/0.0008463, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003934/0.003934, allocations: 162.8 kB / 24.69 MB, free: 9.402 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8675/0.8675, allocations: 158.6 MB / 186.5 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.388e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001672/0.001685, allocations: 1.466 MB / 299.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.003055, allocations: 0.8475 MB / 300.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.003115, allocations: 4 kB / 300.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.37e-05/0.003209, allocations: 11.86 kB / 300.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.464e-05/0.003284, allocations: 19.81 kB / 300.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.00355, allocations: 51.86 kB / 300.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.00373, allocations: 135.7 kB / 301 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.003827, allocations: 15.92 kB / 301 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.004183, allocations: 411.3 kB / 301.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.004284, allocations: 59.81 kB / 301.5 MB, free: 496 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.004316, allocations: 8 kB / 301.5 MB, free: 488 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.222e-05/0.004338, allocations: 12 kB / 301.5 MB, free: 476 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.00441, allocations: 71.66 kB / 301.5 MB, free: 404 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.004476, allocations: 55.78 kB / 301.6 MB, free: 348 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1184/0.1228, allocations: 350.8 kB / 301.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1228, allocations: 0 / 301.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1228, allocations: 3.609 kB / 301.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.1229, allocations: 0 / 301.9 MB, free: 13.71 MB / 282.7 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.0006994/0.1236, allocations: 0.6491 MB / 302.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1236, allocations: 14.77 kB / 302.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.1236, allocations: 38.95 kB / 302.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.1237, allocations: 42.36 kB / 302.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1239, allocations: 219.4 kB / 302.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1239, allocations: 7.625 kB / 302.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.1239, allocations: 7.031 kB / 302.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.1242, allocations: 243.8 kB / 303.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1242, allocations: 3.609 kB / 303.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.1242, allocations: 8.109 kB / 303.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1242, allocations: 5.156 kB / 303.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.1244, allocations: 172.3 kB / 303.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.1249, allocations: 417.5 kB / 303.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1251, allocations: 195.6 kB / 303.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1252, allocations: 178.2 kB / 304.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.1252, allocations: 1.109 kB / 304.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000373/0.1256, allocations: 328.3 kB / 304.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.1256, allocations: 1.531 kB / 304.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006229/0.1262, allocations: 0.6969 MB / 305.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.1263, allocations: 168.6 kB / 305.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.1268, allocations: 0.5155 MB / 305.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1268, allocations: 31.83 kB / 305.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.1268, allocations: 98.66 kB / 305.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1269, allocations: 26.16 kB / 306 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.127, allocations: 81.84 kB / 306 MB, free: 10.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.127, allocations: 324.5 kB / 306.4 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1271, allocations: 178.3 kB / 306.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1272, allocations: 194.7 kB / 306.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.1274, allocations: 348.2 kB / 307.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.1274, allocations: 3.938 kB / 307.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003676/0.1278, allocations: 0.5018 MB / 307.6 MB, free: 9.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.1278, allocations: 124.7 kB / 307.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1278, allocations: 1.156 kB / 307.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1279, allocations: 1 kB / 307.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.068e-05/0.1279, allocations: 6.906 kB / 307.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.1279, allocations: 1.781 kB / 307.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.128, allocations: 18.55 kB / 307.7 MB, free: 9.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.128, allocations: 47.86 kB / 307.8 MB, free: 9.594 MB / 282.7 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.0002242/0.1283, allocations: 364.8 kB / 308.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.1283, allocations: 39.72 kB / 308.2 MB, free: 9.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.508e-05/0.1284, allocations: 68.62 kB / 308.2 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1284, allocations: 5.312 kB / 308.2 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1284, allocations: 0.75 kB / 308.2 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1284, allocations: 1.125 kB / 308.2 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/0.129, allocations: 0.8801 MB / 309.1 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.129, allocations: 0 / 309.1 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-06/0.1291, allocations: 1.766 kB / 309.1 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1291, allocations: 0 / 309.1 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.1291, allocations: 11.94 kB / 309.1 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1291, allocations: 2 kB / 309.1 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1291, allocations: 0 / 309.1 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.1295, allocations: 0.6666 MB / 309.8 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.1297, allocations: 206.1 kB / 310 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.1298, allocations: 12.33 kB / 310 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.1299, allocations: 10.06 kB / 310 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.13, allocations: 28.61 kB / 310.1 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.13, allocations: 44.17 kB / 310.1 MB, free: 7.926 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003324/0.1303, allocations: 386.8 kB / 310.5 MB, free: 7.723 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1303, allocations: 1.125 kB / 310.5 MB, free: 7.723 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.1306, allocations: 40.78 kB / 310.5 MB, free: 7.723 MB / 282.7 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.0005848/0.1311, allocations: 1.213 MB / 311.7 MB, free: 6.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.1315, allocations: 0.6163 MB / 312.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1315, allocations: 0 / 312.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.1317, allocations: 421.9 kB / 312.8 MB, free: 5.715 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.1321, allocations: 127.7 kB / 312.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.1344, allocations: 3.356 MB / 316.2 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.1346, allocations: 196.1 kB / 316.4 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.321e-05/0.1347, allocations: 13.48 kB / 316.4 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.1347, allocations: 32.12 kB / 316.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of SimCode: time 1.153e-06/0.1347, allocations: 0 / 316.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.1599, allocations: 6.873 MB / 323.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/7.514, allocations: 5.469 kB / 323.3 MB, free: 0.7773 MB / 282.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0023933 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable bUF3S.y in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.csv. Warning: Get data of variable bUF3S.y from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.210252854973078]