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.001178/0.001178, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009203/0.0009203, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8866/0.8866, allocations: 173.3 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 1.342e-06/1.342e-06, allocations: 0 / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.95e-05, allocations: 6.219 kB / 318.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001965/0.001984, allocations: 1.452 MB / 319.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.003299, allocations: 0.8069 MB / 320.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.003352, allocations: 0 / 320.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.083e-05/0.003443, allocations: 15.86 kB / 320.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.951e-05/0.003512, allocations: 19.86 kB / 320.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.00376, allocations: 55.81 kB / 320.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.003918, allocations: 131.6 kB / 320.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.004013, allocations: 20.22 kB / 320.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.004444, allocations: 0.6043 MB / 321.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.004544, allocations: 55.83 kB / 321.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.004572, allocations: 12 kB / 321.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.004592, allocations: 8 kB / 321.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.826e-05/0.00466, allocations: 67.72 kB / 321.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.004726, allocations: 59.77 kB / 321.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.004979, allocations: 374.8 kB / 322.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004982, allocations: 3.938 kB / 322.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.004983, allocations: 0 / 322.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.004988, allocations: 4 kB / 322.1 MB, free: 2.637 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.0004965/0.005484, allocations: 0.6507 MB / 322.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.005526, allocations: 12.92 kB / 322.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.005559, allocations: 42.73 kB / 322.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.005604, allocations: 36.7 kB / 322.8 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.00579, allocations: 220 kB / 323.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.005807, allocations: 4.375 kB / 323.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.005824, allocations: 8.375 kB / 323.1 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.006081, allocations: 248.9 kB / 323.3 MB, free: 1.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.006088, allocations: 4.188 kB / 323.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.006105, allocations: 8.125 kB / 323.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.006109, allocations: 8 kB / 323.3 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.00623, allocations: 178.8 kB / 323.5 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.006672, allocations: 403.7 kB / 323.9 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.006825, allocations: 201.2 kB / 324.1 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.006943, allocations: 183.7 kB / 324.3 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.006951, allocations: 0 / 324.3 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.007232, allocations: 333.5 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.007234, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006995/0.007933, allocations: 0.704 MB / 325.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.007992, allocations: 174.2 kB / 325.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.008378, allocations: 0.5091 MB / 326 MB, free: 14.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.008399, allocations: 29.7 kB / 326 MB, free: 14.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.00845, allocations: 101.1 kB / 326.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.00848, allocations: 35.69 kB / 326.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.008551, allocations: 81.55 kB / 326.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.008634, allocations: 322.8 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.008746, allocations: 174.8 kB / 326.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.008868, allocations: 200 kB / 326.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.009081, allocations: 359.3 kB / 327.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.009082, allocations: 4 kB / 327.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003674/0.00945, allocations: 0.5068 MB / 327.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.448e-05/0.009514, allocations: 126.8 kB / 327.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.009521, allocations: 3.984 kB / 327.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.009533, allocations: 0 / 327.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.963e-05/0.009552, allocations: 0 / 327.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.009559, allocations: 4 kB / 327.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.988e-05/0.009649, allocations: 8 kB / 327.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.009696, allocations: 59.98 kB / 328 MB, free: 12.14 MB / 298.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.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.0002498/0.009945, allocations: 374.5 kB / 328.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.009977, allocations: 39.77 kB / 328.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.75e-05/0.01004, allocations: 63.08 kB / 328.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.01005, allocations: 4.109 kB / 328.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01005, allocations: 3.938 kB / 328.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01005, allocations: 0 / 328.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.01069, allocations: 0.8894 MB / 329.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01069, allocations: 0 / 329.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-06/0.0107, allocations: 4 kB / 329.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.0107, allocations: 0 / 329.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.01072, allocations: 19.92 kB / 329.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01072, allocations: 4 kB / 329.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01072, allocations: 0 / 329.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/0.01115, allocations: 0.6683 MB / 330 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.01138, allocations: 205.4 kB / 330.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.01141, allocations: 12 kB / 330.2 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.01149, allocations: 11.98 kB / 330.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.01158, allocations: 19.98 kB / 330.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.01162, allocations: 67.91 kB / 330.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002904/0.01191, allocations: 386.9 kB / 330.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01191, allocations: 0 / 330.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000194/0.0121, allocations: 47.94 kB / 330.8 MB, free: 9.137 MB / 298.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,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.0006829/0.01278, allocations: 1.224 MB / 332 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005173/0.0133, allocations: 0.6087 MB / 332.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0133, allocations: 4 kB / 332.6 MB, free: 7.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.0135, allocations: 420.4 kB / 333 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.01388, allocations: 133.5 kB / 333.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.01623, allocations: 3.361 MB / 336.5 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.01639, allocations: 193.8 kB / 336.7 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.235e-05/0.01644, allocations: 8.719 kB / 336.7 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.01648, allocations: 32.48 kB / 336.7 MB, free: 2.68 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01648, allocations: 0 / 336.7 MB, free: 2.68 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.03584, allocations: 7.073 MB / 343.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/7.131, allocations: 3.938 kB / 343.8 MB, free: 11.68 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/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: 8.939225278794765]