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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.001531, allocations: 107.5 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002299/0.002299, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 48.06 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.117, allocations: 49.44 MB / 350.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003007/0.1201, allocations: 1.503 MB / 351.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.122, allocations: 0.855 MB / 352.5 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.927e-05/0.1221, allocations: 0 / 352.5 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.1223, allocations: 15.94 kB / 352.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.061e-05/0.1224, allocations: 11.86 kB / 352.5 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1227, allocations: 51.88 kB / 352.6 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.1229, allocations: 139.7 kB / 352.7 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.123, allocations: 16.22 kB / 352.7 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.1236, allocations: 0.5693 MB / 353.3 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.1237, allocations: 67.77 kB / 353.4 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.1238, allocations: 8 kB / 353.4 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.773e-05/0.1239, allocations: 12 kB / 353.4 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.631e-05/0.124, allocations: 67.69 kB / 353.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1241, allocations: 115.2 kB / 353.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.1245, allocations: 370.6 kB / 353.9 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1245, allocations: 0 / 353.9 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1245, allocations: 0 / 353.9 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1245, allocations: 0 / 353.9 MB, free: 0.5195 MB / 286.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.00084/0.1253, allocations: 0.7269 MB / 354.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.1254, allocations: 12.02 kB / 354.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.674e-05/0.1254, allocations: 34.75 kB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.1255, allocations: 40.47 kB / 354.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1258, allocations: 274.3 kB / 355 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.1258, allocations: 4.375 kB / 355 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.1259, allocations: 12.38 kB / 355 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.1262, allocations: 129.7 kB / 355.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1262, allocations: 3.938 kB / 355.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.1262, allocations: 4 kB / 355.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1263, allocations: 11.94 kB / 355.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.1264, allocations: 55.97 kB / 355.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.1271, allocations: 456.6 kB / 355.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1273, allocations: 102.5 kB / 355.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1274, allocations: 84.89 kB / 355.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.1275, allocations: 0 / 355.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003862/0.1279, allocations: 214.7 kB / 356.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1279, allocations: 0 / 356.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008451/0.1287, allocations: 487.5 kB / 356.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.1288, allocations: 162.2 kB / 356.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/0.1295, allocations: 0.5091 MB / 357.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.1296, allocations: 33.81 kB / 357.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.1297, allocations: 109 kB / 357.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.1297, allocations: 31.64 kB / 357.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.1299, allocations: 77.42 kB / 357.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1301, allocations: 326.8 kB / 357.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.1302, allocations: 59.97 kB / 357.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1304, allocations: 85.11 kB / 357.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.1308, allocations: 343.3 kB / 358.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1308, allocations: 0 / 358.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006217/0.1315, allocations: 392.2 kB / 358.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-05/0.1316, allocations: 130.8 kB / 358.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1316, allocations: 0 / 358.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1316, allocations: 0 / 358.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.434e-05/0.1316, allocations: 4 kB / 358.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1316, allocations: 0 / 358.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.1318, allocations: 12.03 kB / 358.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.1319, allocations: 59.92 kB / 358.9 MB, free: 11.18 MB / 302.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.0004181/0.1324, allocations: 362.8 kB / 359.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.1324, allocations: 35.62 kB / 359.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.1326, allocations: 63.16 kB / 359.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1326, allocations: 0 / 359.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1326, allocations: 0 / 359.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1326, allocations: 0 / 359.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.1338, allocations: 0.8291 MB / 360.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1338, allocations: 0 / 360.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-06/0.1338, allocations: 0 / 360.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1338, allocations: 0 / 360.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.1339, allocations: 19.98 kB / 360.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1339, allocations: 0 / 360.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1339, allocations: 3.938 kB / 360.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.1346, allocations: 0.54 MB / 360.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.1349, allocations: 252.3 kB / 360.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-05/0.135, allocations: 12 kB / 361 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.1352, allocations: 11.98 kB / 361 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.1354, allocations: 27.92 kB / 361 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-05/0.1355, allocations: 55.98 kB / 361 MB, free: 8.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005003/0.136, allocations: 386.9 kB / 361.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.136, allocations: 3.938 kB / 361.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000361/0.1363, allocations: 43.94 kB / 361.5 MB, free: 8.387 MB / 302.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.001175/0.1375, allocations: 1.096 MB / 362.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.1381, allocations: 433.5 kB / 363 MB, free: 6.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1381, allocations: 0 / 363 MB, free: 6.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.1385, allocations: 385.5 kB / 363.4 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.1391, allocations: 126 kB / 363.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.1429, allocations: 2.746 MB / 366.2 MB, free: 3.367 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.1435, allocations: 0.7981 MB / 367 MB, free: 2.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.187e-05/0.1435, allocations: 12.64 kB / 367 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.1436, allocations: 27.44 kB / 367.1 MB, free: 2.504 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1436, allocations: 0 / 367.1 MB, free: 2.504 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2133/0.357, allocations: 5.99 MB / 373.1 MB, free: 25.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.628, allocations: 4.641 kB / 373.1 MB, free: 25.39 MB / 302.1 MB (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.0048 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) 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) Reference file matches