Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.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.0009372/0.0009372, allocations: 79.7 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.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.0009119/0.0009119, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9061/0.9061, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.NRXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.737e-05, allocations: 8.609 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001612/0.001629, allocations: 1.495 MB / 326.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.002873, allocations: 0.8458 MB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.002922, allocations: 0 / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.04e-05/0.003002, allocations: 7.938 kB / 326.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.056e-05/0.003073, allocations: 23.84 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.003306, allocations: 47.83 kB / 327 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.003464, allocations: 131.7 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.00355, allocations: 12.22 kB / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004023/0.003952, allocations: 0.5927 MB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.004056, allocations: 67.75 kB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.004089, allocations: 16 kB / 327.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.004109, allocations: 8 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.004185, allocations: 75.7 kB / 327.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.004251, allocations: 55.73 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.004652, allocations: 374.8 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.004654, allocations: 0 / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.004655, allocations: 0 / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.004662, allocations: 0 / 328.3 MB, free: 12.19 MB / 298.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.0005596/0.005221, allocations: 0.6581 MB / 329 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.005259, allocations: 11.97 kB / 329 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.005294, allocations: 38.75 kB / 329 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.005342, allocations: 44.7 kB / 329 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.005544, allocations: 216.1 kB / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.005562, allocations: 8.375 kB / 329.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.00558, allocations: 8.375 kB / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.005848, allocations: 241 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.005856, allocations: 192 / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.005875, allocations: 12.11 kB / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.00588, allocations: 0 / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.006004, allocations: 178.7 kB / 329.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.006475, allocations: 411.7 kB / 330.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.006638, allocations: 201.2 kB / 330.3 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.006754, allocations: 183.7 kB / 330.5 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.148e-06/0.006763, allocations: 0 / 330.5 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002745/0.007037, allocations: 325.5 kB / 330.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.007039, allocations: 0 / 330.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006508/0.00769, allocations: 0.7197 MB / 331.5 MB, free: 8.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.00776, allocations: 162.2 kB / 331.7 MB, free: 8.402 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.008176, allocations: 0.5169 MB / 332.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.008197, allocations: 33.64 kB / 332.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.008247, allocations: 105.1 kB / 332.3 MB, free: 7.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.008276, allocations: 35.77 kB / 332.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/0.008346, allocations: 77.56 kB / 332.4 MB, free: 7.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.008418, allocations: 318.8 kB / 332.7 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.008529, allocations: 178.8 kB / 332.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.008643, allocations: 192.5 kB / 333.1 MB, free: 6.879 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.008852, allocations: 367.2 kB / 333.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008854, allocations: 0 / 333.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000361/0.009215, allocations: 0.5108 MB / 334 MB, free: 5.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.76e-05/0.009273, allocations: 122.8 kB / 334.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.009279, allocations: 8.031 kB / 334.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.009291, allocations: 0 / 334.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-05/0.009309, allocations: 0 / 334.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.009314, allocations: 0 / 334.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.675e-05/0.0094, allocations: 11.98 kB / 334.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.009446, allocations: 59.94 kB / 334.2 MB, free: 5.676 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.0002295/0.009676, allocations: 366.6 kB / 334.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.009707, allocations: 39.77 kB / 334.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.009774, allocations: 67.08 kB / 334.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.009775, allocations: 4 kB / 334.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.00978, allocations: 4 kB / 334.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.009783, allocations: 0 / 334.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008063/0.01059, allocations: 0.8929 MB / 335.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01059, allocations: 0 / 335.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-06/0.01059, allocations: 0 / 335.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.0106, allocations: 4 kB / 335.5 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.01062, allocations: 15.98 kB / 335.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01062, allocations: 7.938 kB / 335.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01062, allocations: 0 / 335.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.01106, allocations: 0.6726 MB / 336.2 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.01128, allocations: 205.3 kB / 336.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.01132, allocations: 12 kB / 336.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.01139, allocations: 8 kB / 336.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.01148, allocations: 27.97 kB / 336.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.01152, allocations: 59.98 kB / 336.5 MB, free: 3.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002774/0.0118, allocations: 386.9 kB / 336.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0118, allocations: 0 / 336.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001969/0.012, allocations: 43.94 kB / 337 MB, free: 2.691 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.0006254/0.01262, allocations: 1.205 MB / 338.2 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004154/0.01304, allocations: 0.6165 MB / 338.8 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.01304, allocations: 0 / 338.8 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.01326, allocations: 436.4 kB / 339.2 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.01363, allocations: 119.6 kB / 339.3 MB, free: 92 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.0162, allocations: 3.369 MB / 342.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.01637, allocations: 197.7 kB / 342.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.091e-05/0.01642, allocations: 12.78 kB / 342.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.01647, allocations: 28.48 kB / 342.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01647, allocations: 0 / 342.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.03467, allocations: 7.072 MB / 350 MB, free: 5.223 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.933/6.968, allocations: 11.88 kB / 350 MB, free: 5.211 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv. Warning: Get data of variable nRXFERGATE.y from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.781521320343018]