Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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.001577/0.001577, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.002514/0.002514, allocations: 211.3 kB / 21.41 MB, free: 1.672 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.584/1.584, allocations: 207.6 MB / 231.8 MB, free: 3.977 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.NXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER",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.001755/0.001755, allocations: 57.02 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.1004, allocations: 49.13 MB / 391.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002737/0.1032, allocations: 1.506 MB / 392.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1052, allocations: 0.9111 MB / 393.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.1052, allocations: 0 / 393.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.12e-05/0.1053, allocations: 7.922 kB / 393.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.588e-05/0.1054, allocations: 19.8 kB / 393.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1057, allocations: 43.95 kB / 393.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.1059, allocations: 127.8 kB / 394 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.106, allocations: 24.42 kB / 394.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000631/0.1066, allocations: 0.5771 MB / 394.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1067, allocations: 75.69 kB / 394.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.1068, allocations: 8 kB / 394.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.222e-05/0.1068, allocations: 12 kB / 394.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.715e-05/0.1069, allocations: 63.7 kB / 394.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.107, allocations: 115.2 kB / 394.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.1074, allocations: 374.4 kB / 395.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1074, allocations: 0 / 395.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1074, allocations: 4 kB / 395.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1074, allocations: 3.938 kB / 395.3 MB, free: 4.816 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.0007815/0.1082, allocations: 0.7266 MB / 396 MB, free: 4.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1082, allocations: 12.03 kB / 396 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.1083, allocations: 42.73 kB / 396 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/0.1084, allocations: 40.7 kB / 396.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1087, allocations: 274.6 kB / 396.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.1087, allocations: 8.375 kB / 396.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.1087, allocations: 8.359 kB / 396.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.109, allocations: 137.7 kB / 396.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1091, allocations: 4 kB / 396.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.1091, allocations: 4 kB / 396.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1091, allocations: 4 kB / 396.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.1093, allocations: 63.95 kB / 396.6 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.1099, allocations: 456.6 kB / 397 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.1101, allocations: 82.47 kB / 397.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.1103, allocations: 64.89 kB / 397.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.1103, allocations: 0 / 397.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.1106, allocations: 206.7 kB / 397.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1106, allocations: 0 / 397.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008522/0.1115, allocations: 480.1 kB / 397.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1116, allocations: 166.2 kB / 398 MB, free: 1.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.1123, allocations: 0.5169 MB / 398.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.1123, allocations: 29.7 kB / 398.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.1124, allocations: 105.1 kB / 398.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.1124, allocations: 23.95 kB / 398.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.1125, allocations: 93.44 kB / 398.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1127, allocations: 326.8 kB / 399.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1128, allocations: 59.91 kB / 399.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.113, allocations: 81.62 kB / 399.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.1134, allocations: 335.3 kB / 399.6 MB, free: 156 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1134, allocations: 0 / 399.6 MB, free: 156 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006038/0.114, allocations: 396.4 kB / 399.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1141, allocations: 122.8 kB / 400.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1141, allocations: 0 / 400.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1141, allocations: 0 / 400.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.037e-05/0.1141, allocations: 0 / 400.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1141, allocations: 4 kB / 400.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1143, allocations: 16.02 kB / 400.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.1143, allocations: 60.02 kB / 400.1 MB, free: 15.51 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0003889/0.1147, allocations: 366.7 kB / 400.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.1148, allocations: 35.77 kB / 400.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.972e-05/0.1149, allocations: 67.14 kB / 400.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1149, allocations: 0 / 400.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1149, allocations: 0 / 400.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1149, allocations: 3.938 kB / 400.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.116, allocations: 0.829 MB / 401.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.116, allocations: 4.172 kB / 401.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-06/0.116, allocations: 7.938 kB / 401.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.116, allocations: 0 / 401.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.116, allocations: 19.98 kB / 401.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.116, allocations: 0 / 401.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.116, allocations: 3.938 kB / 401.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007132/0.1167, allocations: 0.5336 MB / 402 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.1171, allocations: 256.6 kB / 402.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.1171, allocations: 8 kB / 402.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1173, allocations: 8 kB / 402.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1174, allocations: 31.91 kB / 402.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.1174, allocations: 63.86 kB / 402.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005124/0.118, allocations: 386.9 kB / 402.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.118, allocations: 0 / 402.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.1183, allocations: 43.95 kB / 402.8 MB, free: 12.69 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.001145/0.1194, allocations: 1.09 MB / 403.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005656/0.12, allocations: 373.5 kB / 404.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.12, allocations: 0 / 404.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.1203, allocations: 301.6 kB / 404.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.121, allocations: 137.1 kB / 404.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.1249, allocations: 2.76 MB / 407.4 MB, free: 7.793 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.1255, allocations: 0.7982 MB / 408.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.192e-05/0.1255, allocations: 12.64 kB / 408.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.1256, allocations: 23.44 kB / 408.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1256, allocations: 0 / 408.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03903/0.1646, allocations: 6.062 MB / 414.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.228, allocations: 4 kB / 414.3 MB, free: 0.7227 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_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_NXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable nXFERGATE.y in file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.csv. Warning: Get data of variable nXFERGATE.y from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.902117838995764]