Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001722/0.001722, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.002069/0.002069, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 230.4 MB / 254 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 67.89 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1186, allocations: 53.37 MB / 426.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003369/0.122, allocations: 1.547 MB / 427.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.1244, allocations: 0.8809 MB / 428.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1245, allocations: 0 / 428.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.1246, allocations: 11.94 kB / 428.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.1247, allocations: 23.8 kB / 428.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.1251, allocations: 51.88 kB / 428.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.1254, allocations: 123.8 kB / 429 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1255, allocations: 15.98 kB / 429 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005317/0.126, allocations: 399.2 kB / 429.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1261, allocations: 67.75 kB / 429.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.1262, allocations: 12 kB / 429.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.862e-05/0.1262, allocations: 8 kB / 429.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1263, allocations: 71.7 kB / 429.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.1265, allocations: 115.2 kB / 429.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004133/0.1269, allocations: 354.5 kB / 430 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1269, allocations: 3.938 kB / 430 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1269, allocations: 3.938 kB / 430 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.1269, allocations: 4 kB / 430 MB, free: 1.051 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.001012/0.1279, allocations: 0.7227 MB / 430.7 MB, free: 260 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.128, allocations: 15.97 kB / 430.8 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.619e-05/0.128, allocations: 46.72 kB / 430.8 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.699e-05/0.1281, allocations: 40.7 kB / 430.8 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.1285, allocations: 274.7 kB / 431.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1285, allocations: 4.375 kB / 431.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.1285, allocations: 12.36 kB / 431.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.1289, allocations: 125.7 kB / 431.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1289, allocations: 0 / 431.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.1289, allocations: 8 kB / 431.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1289, allocations: 0 / 431.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.1291, allocations: 55.97 kB / 431.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007394/0.1298, allocations: 468.4 kB / 431.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.13, allocations: 70.55 kB / 431.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1301, allocations: 60.89 kB / 431.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.1301, allocations: 0 / 431.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004017/0.1305, allocations: 205.1 kB / 432.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.1306, allocations: 4 kB / 432.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008428/0.1314, allocations: 464.3 kB / 432.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.1315, allocations: 170.2 kB / 432.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/0.1322, allocations: 0.513 MB / 433.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.1322, allocations: 29.7 kB / 433.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.1323, allocations: 109 kB / 433.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.1323, allocations: 23.86 kB / 433.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.1324, allocations: 81.5 kB / 433.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1326, allocations: 330.8 kB / 433.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1327, allocations: 55.97 kB / 433.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.1329, allocations: 73.67 kB / 433.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.1333, allocations: 346 kB / 434.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1333, allocations: 0 / 434.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005595/0.1338, allocations: 368.4 kB / 434.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.826e-05/0.1339, allocations: 122.9 kB / 434.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1339, allocations: 7.969 kB / 434.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1339, allocations: 4 kB / 434.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-05/0.134, allocations: 0 / 434.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.134, allocations: 3.938 kB / 434.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.1341, allocations: 19.94 kB / 434.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.1342, allocations: 40 kB / 434.8 MB, free: 11.82 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.0004213/0.1346, allocations: 366.2 kB / 435.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.1347, allocations: 39.75 kB / 435.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.1348, allocations: 67.16 kB / 435.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.1348, allocations: 7.984 kB / 435.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1348, allocations: 128 / 435.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1348, allocations: 0 / 435.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.1359, allocations: 0.8133 MB / 436.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1359, allocations: 4 kB / 436.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-06/0.1359, allocations: 0 / 436.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1359, allocations: 0 / 436.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.136, allocations: 12 kB / 436.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.136, allocations: 0 / 436.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.136, allocations: 3.938 kB / 436.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.1367, allocations: 0.5293 MB / 436.6 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.137, allocations: 240.6 kB / 436.9 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.1371, allocations: 12 kB / 436.9 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1373, allocations: 11.98 kB / 436.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.1374, allocations: 31.91 kB / 436.9 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/0.1374, allocations: 43.92 kB / 437 MB, free: 9.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005235/0.138, allocations: 390.9 kB / 437.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.138, allocations: 3.938 kB / 437.4 MB, free: 9.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.1383, allocations: 47.98 kB / 437.4 MB, free: 9.043 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.0011/0.1394, allocations: 1.08 MB / 438.5 MB, free: 7.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005182/0.1399, allocations: 373.5 kB / 438.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1399, allocations: 8.062 kB / 438.9 MB, free: 7.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.1402, allocations: 293.6 kB / 439.1 MB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006794/0.1409, allocations: 135.1 kB / 439.3 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.1445, allocations: 2.745 MB / 442 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.145, allocations: 0.8021 MB / 442.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.575e-05/0.1451, allocations: 16.64 kB / 442.8 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.1451, allocations: 23.44 kB / 442.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1451, allocations: 0 / 442.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2954/0.4405, allocations: 5.766 MB / 448.6 MB, free: 24.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.663, allocations: 6.391 kB / 448.6 MB, free: 24.61 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.csv","/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.csv. Warning: Get data of variable bUF3S.y from file Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.430271774996072]