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.001605/0.001605, allocations: 110.4 kB / 19.16 MB, free: 3.938 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.001868/0.001868, allocations: 205.6 kB / 22.12 MB, free: 0.9922 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.383/1.383, allocations: 207.6 MB / 232.5 MB, free: 3.941 MB / 174.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",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.001729/0.001729, allocations: 51.92 kB / 343 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09354, allocations: 49.13 MB / 392.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002725/0.09627, allocations: 1.501 MB / 393.6 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.0982, allocations: 0.9054 MB / 394.5 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.09825, allocations: 0 / 394.5 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.586e-05/0.09833, allocations: 11.86 kB / 394.5 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.037e-05/0.09841, allocations: 23.84 kB / 394.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.09864, allocations: 43.89 kB / 394.6 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.0989, allocations: 131.8 kB / 394.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.441e-05/0.09899, allocations: 16.5 kB / 394.7 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.0997, allocations: 0.5732 MB / 395.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.09985, allocations: 79.62 kB / 395.4 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.09989, allocations: 8 kB / 395.4 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.998e-05/0.09992, allocations: 12 kB / 395.4 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.707e-05/0.1, allocations: 63.75 kB / 395.5 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1001, allocations: 115.1 kB / 395.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.1005, allocations: 378.4 kB / 396 MB, free: 4.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1005, allocations: 0 / 396 MB, free: 4.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1006, allocations: 0 / 396 MB, free: 4.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1006, allocations: 4 kB / 396 MB, free: 4.844 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.0008057/0.1014, allocations: 0.7344 MB / 396.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1014, allocations: 8.031 kB / 396.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.495e-05/0.1014, allocations: 192 / 396.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.1015, allocations: 42.69 kB / 396.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.1015, allocations: 40.7 kB / 396.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.1018, allocations: 282.6 kB / 397.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1018, allocations: 8.375 kB / 397.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.1019, allocations: 12.36 kB / 397.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.1022, allocations: 141.5 kB / 397.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1022, allocations: 0 / 397.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.1022, allocations: 4 kB / 397.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1022, allocations: 0 / 397.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.1024, allocations: 63.91 kB / 397.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.103, allocations: 460.5 kB / 397.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1032, allocations: 78.48 kB / 397.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.1034, allocations: 60.89 kB / 397.9 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.1034, allocations: 4 kB / 397.9 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000349/0.1037, allocations: 202.7 kB / 398.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1037, allocations: 4 kB / 398.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000827/0.1046, allocations: 484.1 kB / 398.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.1047, allocations: 166.2 kB / 398.7 MB, free: 1.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006504/0.1053, allocations: 0.5091 MB / 399.2 MB, free: 1.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.1054, allocations: 37.69 kB / 399.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.1054, allocations: 97.09 kB / 399.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.1055, allocations: 31.94 kB / 399.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.1056, allocations: 89.45 kB / 399.5 MB, free: 1.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1058, allocations: 330.8 kB / 399.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.1059, allocations: 51.97 kB / 399.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.106, allocations: 85.61 kB / 399.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.1064, allocations: 343.2 kB / 400.3 MB, free: 164 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1064, allocations: 0 / 400.3 MB, free: 164 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006093/0.107, allocations: 388.4 kB / 400.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.1071, allocations: 126.8 kB / 400.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1071, allocations: 4 kB / 400.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1072, allocations: 0 / 400.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.978e-05/0.1072, allocations: 0 / 400.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1072, allocations: 4.031 kB / 400.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.1073, allocations: 8 kB / 400.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.1074, allocations: 67.86 kB / 400.9 MB, free: 15.52 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.0003862/0.1078, allocations: 358.8 kB / 401.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.1078, allocations: 39.77 kB / 401.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.75e-05/0.1079, allocations: 63.16 kB / 401.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1079, allocations: 128 / 401.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1079, allocations: 8 kB / 401.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1079, allocations: 0 / 401.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.109, allocations: 0.825 MB / 402.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.109, allocations: 0 / 402.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-06/0.109, allocations: 7.938 kB / 402.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.109, allocations: 0 / 402.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.109, allocations: 11.98 kB / 402.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.109, allocations: 11.92 kB / 402.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.109, allocations: 0 / 402.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007007/0.1097, allocations: 0.5372 MB / 402.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.1101, allocations: 244.6 kB / 402.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.1101, allocations: 12 kB / 403 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1103, allocations: 15.92 kB / 403 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.1104, allocations: 23.98 kB / 403 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/0.1104, allocations: 67.86 kB / 403.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000487/0.1109, allocations: 378.9 kB / 403.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1109, allocations: 4 kB / 403.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.1112, allocations: 47.95 kB / 403.5 MB, free: 12.71 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.00116/0.1124, allocations: 1.097 MB / 404.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005423/0.1129, allocations: 373.5 kB / 404.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1129, allocations: 0 / 404.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.1132, allocations: 305.6 kB / 405.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.1139, allocations: 125.7 kB / 405.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.1174, allocations: 2.767 MB / 408.1 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.1179, allocations: 0.7981 MB / 408.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.655e-05/0.118, allocations: 8.656 kB / 408.9 MB, free: 6.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.118, allocations: 31.42 kB / 409 MB, free: 6.941 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.118, allocations: 0 / 409 MB, free: 6.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.1421, allocations: 6.087 MB / 415.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.324, allocations: 11.91 kB / 415.1 MB, free: 0.6953 MB / 334.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 10.614278248045594] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 8.447479780006688 8.461472406 8.357824452000001 Calling exit ...