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.001859/0.001859, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002352/0.002352, allocations: 207 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001717/0.001717, allocations: 47.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2629, allocations: 53.37 MB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002876/0.2658, allocations: 1.483 MB / 432.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2679, allocations: 0.8342 MB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.2679, allocations: 0 / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.429e-05/0.268, allocations: 11.92 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.383e-05/0.2681, allocations: 23.8 kB / 433.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.2684, allocations: 51.88 kB / 433.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.2686, allocations: 127.8 kB / 433.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2687, allocations: 16.22 kB / 433.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006916/0.2694, allocations: 0.577 MB / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.2696, allocations: 71.75 kB / 434.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.2696, allocations: 12 kB / 434.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.52e-05/0.2697, allocations: 8 kB / 434.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.2697, allocations: 67.69 kB / 434.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.2699, allocations: 83.36 kB / 434.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004167/0.2703, allocations: 380.1 kB / 434.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2703, allocations: 0 / 434.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2703, allocations: 4 kB / 434.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2703, allocations: 7.938 kB / 434.8 MB, free: 2.848 MB / 334.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.0007981/0.2711, allocations: 0.6513 MB / 435.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2711, allocations: 8.031 kB / 435.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.2712, allocations: 42.73 kB / 435.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.2712, allocations: 40.7 kB / 435.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.2715, allocations: 216.8 kB / 435.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.2716, allocations: 4.375 kB / 435.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.2716, allocations: 8.375 kB / 435.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.272, allocations: 252.5 kB / 436 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.272, allocations: 0 / 436 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.272, allocations: 12 kB / 436 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.272, allocations: 0 / 436 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.2722, allocations: 178.8 kB / 436.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007012/0.2729, allocations: 415.5 kB / 436.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.2732, allocations: 197.3 kB / 436.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.2734, allocations: 175.7 kB / 437 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.2734, allocations: 0 / 437 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004709/0.2739, allocations: 329.6 kB / 437.3 MB, free: 60 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.2739, allocations: 0 / 437.3 MB, free: 60 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001017/0.2749, allocations: 0.7116 MB / 438 MB, free: 15.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.275, allocations: 170.2 kB / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006726/0.2757, allocations: 0.513 MB / 438.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.2757, allocations: 33.7 kB / 438.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.2758, allocations: 101.1 kB / 438.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.2758, allocations: 19.86 kB / 438.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.276, allocations: 89.48 kB / 438.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2761, allocations: 322.8 kB / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2763, allocations: 178.8 kB / 439.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.2766, allocations: 192.5 kB / 439.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.2769, allocations: 355.3 kB / 440 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2769, allocations: 0 / 440 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006523/0.2776, allocations: 0.5069 MB / 440.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-05/0.2777, allocations: 122.8 kB / 440.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2777, allocations: 128 / 440.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2777, allocations: 0 / 440.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.39e-05/0.2777, allocations: 11.98 kB / 440.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2777, allocations: 0 / 440.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.2779, allocations: 8 kB / 440.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/0.2779, allocations: 67.95 kB / 440.7 MB, free: 12.35 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.0003748/0.2783, allocations: 366.5 kB / 441 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.2784, allocations: 39.7 kB / 441.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.2785, allocations: 67.09 kB / 441.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2785, allocations: 4.047 kB / 441.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2785, allocations: 3.938 kB / 441.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2785, allocations: 0 / 441.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.2796, allocations: 0.8895 MB / 442 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2796, allocations: 0 / 442 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-06/0.2796, allocations: 0 / 442 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2796, allocations: 4 kB / 442 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.2796, allocations: 15.98 kB / 442.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2796, allocations: 0 / 442.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2796, allocations: 3.938 kB / 442.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007853/0.2804, allocations: 0.66 MB / 442.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/0.2808, allocations: 209.3 kB / 442.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.421e-05/0.2809, allocations: 12 kB / 442.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.281, allocations: 11.98 kB / 443 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.2811, allocations: 27.92 kB / 443 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-05/0.2812, allocations: 55.98 kB / 443 MB, free: 9.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004866/0.2817, allocations: 386.9 kB / 443.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2817, allocations: 4 kB / 443.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.2819, allocations: 44 kB / 443.5 MB, free: 9.375 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.001171/0.2831, allocations: 1.22 MB / 444.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.2838, allocations: 0.5968 MB / 445.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2838, allocations: 0 / 445.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.2842, allocations: 436.3 kB / 445.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.2848, allocations: 121.5 kB / 445.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.2889, allocations: 3.357 MB / 449.2 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.2892, allocations: 185.7 kB / 449.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.695e-05/0.2892, allocations: 8.656 kB / 449.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.2893, allocations: 27.44 kB / 449.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2893, allocations: 0 / 449.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.3245, allocations: 6.985 MB / 456.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.56, allocations: 11.86 kB / 456.4 MB, free: 12.04 MB / 366.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/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: 14.103446618653834]