Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001689/0.001689, allocations: 118 kB / 18.45 MB, free: 4.566 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.001854/0.001854, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 207.6 MB / 231.8 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 47.94 kB / 342.3 MB, free: 9.977 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09286/0.09454, allocations: 49.13 MB / 391.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002698/0.09724, allocations: 1.51 MB / 392.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.09923, allocations: 0.9034 MB / 393.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.09929, allocations: 4 kB / 393.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.38e-05/0.09937, allocations: 7.922 kB / 393.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.788e-05/0.09946, allocations: 27.78 kB / 393.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.09971, allocations: 43.95 kB / 393.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.09993, allocations: 135.7 kB / 394 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.1, allocations: 12.52 kB / 394.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.1007, allocations: 0.5693 MB / 394.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1008, allocations: 79.69 kB / 394.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.1008, allocations: 12 kB / 394.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.907e-05/0.1009, allocations: 8 kB / 394.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.724e-05/0.101, allocations: 71.69 kB / 394.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1011, allocations: 115.2 kB / 394.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.1016, allocations: 366.4 kB / 395.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1016, allocations: 3.938 kB / 395.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1016, allocations: 8 kB / 395.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1016, allocations: 0 / 395.3 MB, free: 4.797 MB / 318.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.0009902/0.1026, allocations: 0.7383 MB / 396 MB, free: 3.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1026, allocations: 8.031 kB / 396 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.303e-05/0.1027, allocations: 42.75 kB / 396.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.1027, allocations: 36.7 kB / 396.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.1031, allocations: 274.7 kB / 396.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1031, allocations: 8.375 kB / 396.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1031, allocations: 8.375 kB / 396.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.1035, allocations: 137.7 kB / 396.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1035, allocations: 0 / 396.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.1035, allocations: 4 kB / 396.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1035, allocations: 3.984 kB / 396.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.1037, allocations: 59.97 kB / 396.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/0.1044, allocations: 464.5 kB / 397 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1046, allocations: 74.48 kB / 397.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.1048, allocations: 64.89 kB / 397.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.1048, allocations: 7.938 kB / 397.2 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/0.1052, allocations: 210.7 kB / 397.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.1052, allocations: 0 / 397.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009602/0.1061, allocations: 480.1 kB / 397.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.1063, allocations: 166.2 kB / 398 MB, free: 1.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007109/0.107, allocations: 0.513 MB / 398.5 MB, free: 1.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.107, allocations: 37.8 kB / 398.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.1071, allocations: 101 kB / 398.7 MB, free: 1.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.1071, allocations: 23.84 kB / 398.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.1073, allocations: 85.52 kB / 398.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1074, allocations: 330.8 kB / 399.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1075, allocations: 55.97 kB / 399.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.1077, allocations: 85.55 kB / 399.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.1081, allocations: 339.3 kB / 399.6 MB, free: 128 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1081, allocations: 0 / 399.6 MB, free: 128 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006103/0.1087, allocations: 388.4 kB / 399.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.1088, allocations: 126.8 kB / 400.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1088, allocations: 4 kB / 400.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1088, allocations: 0 / 400.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.057e-05/0.1089, allocations: 0 / 400.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1089, allocations: 128 / 400.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.109, allocations: 16.03 kB / 400.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.1091, allocations: 63.92 kB / 400.1 MB, free: 15.48 MB / 334.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.0004077/0.1095, allocations: 362.7 kB / 400.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.1095, allocations: 39.77 kB / 400.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.1097, allocations: 63.16 kB / 400.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1097, allocations: 4 kB / 400.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1097, allocations: 0 / 400.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1097, allocations: 0 / 400.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.1108, allocations: 0.8289 MB / 401.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1108, allocations: 0 / 401.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-06/0.1108, allocations: 4 kB / 401.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1108, allocations: 0 / 401.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.1108, allocations: 15.98 kB / 401.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1108, allocations: 0 / 401.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1108, allocations: 3.938 kB / 401.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/0.1116, allocations: 0.5371 MB / 402 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.1119, allocations: 244.6 kB / 402.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/0.1119, allocations: 12 kB / 402.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.1121, allocations: 15.92 kB / 402.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.1122, allocations: 27.92 kB / 402.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.75e-05/0.1122, allocations: 63.92 kB / 402.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004973/0.1127, allocations: 390.8 kB / 402.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1127, allocations: 0 / 402.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.113, allocations: 43.95 kB / 402.8 MB, free: 12.68 MB / 334.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.001135/0.1142, allocations: 1.101 MB / 403.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005444/0.1147, allocations: 369.5 kB / 404.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1147, allocations: 0 / 404.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.115, allocations: 305.6 kB / 404.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.1157, allocations: 133.2 kB / 404.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.1195, allocations: 2.764 MB / 407.4 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.12, allocations: 0.802 MB / 408.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.731e-05/0.12, allocations: 8.656 kB / 408.2 MB, free: 6.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.1201, allocations: 31.42 kB / 408.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1201, allocations: 0 / 408.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.1499, allocations: 6.039 MB / 414.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.296/8.446, allocations: 12 kB / 414.3 MB, free: 0.7031 MB / 334.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.csv. Warning: Get data of variable nRXFERGATE.y from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.176239640000858]