Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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.001399/0.001399, allocations: 123 kB / 17.78 MB, free: 5.25 MB / 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.001506/0.001506, allocations: 197.2 kB / 20.73 MB, free: 2.309 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.437/1.437, allocations: 225.6 MB / 249.1 MB, free: 3.602 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 51.92 kB / 365.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1134, allocations: 52.15 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002758/0.1162, allocations: 1.511 MB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.1181, allocations: 0.8498 MB / 420.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.1182, allocations: 0 / 420.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.333e-05/0.1183, allocations: 15.86 kB / 420.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.093e-05/0.1184, allocations: 15.86 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1186, allocations: 51.88 kB / 420.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.1188, allocations: 131.7 kB / 420.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.1189, allocations: 8.234 kB / 420.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006556/0.1196, allocations: 0.5771 MB / 420.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1197, allocations: 83.61 kB / 421 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.1197, allocations: 12 kB / 421 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-05/0.1198, allocations: 8 kB / 421 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.1199, allocations: 67.75 kB / 421.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.12, allocations: 115.1 kB / 421.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.1204, allocations: 370.5 kB / 421.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1204, allocations: 3.938 kB / 421.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1204, allocations: 7.938 kB / 421.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.902e-06/0.1204, allocations: 0 / 421.6 MB, free: 8.754 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.0008333/0.1212, allocations: 0.7305 MB / 422.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1213, allocations: 8.031 kB / 422.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.535e-05/0.1213, allocations: 46.75 kB / 422.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.1214, allocations: 36.7 kB / 422.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.1217, allocations: 278.6 kB / 422.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1217, allocations: 4.375 kB / 422.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.1218, allocations: 8.375 kB / 422.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.1221, allocations: 137.7 kB / 422.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1221, allocations: 0 / 422.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1221, allocations: 4 kB / 422.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1221, allocations: 0 / 422.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.1223, allocations: 59.97 kB / 422.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.123, allocations: 468.4 kB / 423.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1232, allocations: 70.55 kB / 423.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.1233, allocations: 64.89 kB / 423.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.1233, allocations: 3.984 kB / 423.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003834/0.1237, allocations: 214.6 kB / 423.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1237, allocations: 0 / 423.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000863/0.1246, allocations: 480.3 kB / 424.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.1247, allocations: 166.2 kB / 424.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006589/0.1253, allocations: 0.5168 MB / 424.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.1254, allocations: 33.8 kB / 424.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.1255, allocations: 105 kB / 425 MB, free: 5.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.1255, allocations: 31.8 kB / 425 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.1256, allocations: 81.56 kB / 425.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1258, allocations: 322.8 kB / 425.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1259, allocations: 55.97 kB / 425.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.1261, allocations: 83.91 kB / 425.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.1265, allocations: 354.4 kB / 425.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1265, allocations: 0 / 425.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006117/0.1271, allocations: 384.3 kB / 426.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.1272, allocations: 122.8 kB / 426.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1272, allocations: 0 / 426.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1272, allocations: 4 kB / 426.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.21e-05/0.1272, allocations: 3.938 kB / 426.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1272, allocations: 0 / 426.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1274, allocations: 16.03 kB / 426.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/0.1274, allocations: 55.98 kB / 426.5 MB, free: 3.449 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0003775/0.1278, allocations: 363.5 kB / 426.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.1279, allocations: 39.77 kB / 426.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.128, allocations: 75.08 kB / 426.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.128, allocations: 0 / 426.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.128, allocations: 4 kB / 426.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.128, allocations: 0 / 426.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.129, allocations: 0.8211 MB / 427.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.129, allocations: 0 / 427.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-06/0.129, allocations: 4 kB / 427.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.129, allocations: 0 / 427.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.1291, allocations: 15.98 kB / 427.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.1291, allocations: 4 kB / 427.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1291, allocations: 3.938 kB / 427.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006957/0.1298, allocations: 0.5326 MB / 428.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.1301, allocations: 248.6 kB / 428.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.1301, allocations: 12 kB / 428.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.1303, allocations: 15.92 kB / 428.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.1304, allocations: 27.92 kB / 428.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/0.1305, allocations: 63.91 kB / 428.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005308/0.131, allocations: 382.9 kB / 429.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.131, allocations: 4 kB / 429.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1313, allocations: 43.94 kB / 429.1 MB, free: 0.6484 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.001157/0.1324, allocations: 1.1 MB / 430.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000521/0.1329, allocations: 369.5 kB / 430.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1329, allocations: 0 / 430.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.1333, allocations: 305.9 kB / 430.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006465/0.1339, allocations: 131.2 kB / 431 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.1375, allocations: 2.75 MB / 433.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.1381, allocations: 0.8136 MB / 434.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.1381, allocations: 8.656 kB / 434.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.1382, allocations: 27.42 kB / 434.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1382, allocations: 0 / 434.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.1684, allocations: 6.05 MB / 440.6 MB, free: 4.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/8.13, allocations: 6.562 kB / 440.6 MB, free: 4.836 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0023933 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable nRXFERGATE.y in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv. Warning: Get data of variable nRXFERGATE.y from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.759188241325319]