Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001809/0.001809, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 230.5 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 59.91 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1025, allocations: 53.37 MB / 427.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002852/0.1054, allocations: 1.524 MB / 428.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1074, allocations: 0.8888 MB / 429.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.1074, allocations: 0 / 429.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.1075, allocations: 11.86 kB / 429.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.407e-05/0.1076, allocations: 15.88 kB / 429.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.108, allocations: 51.88 kB / 429.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.1082, allocations: 123.7 kB / 429.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1083, allocations: 24.2 kB / 429.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007013/0.109, allocations: 0.5732 MB / 430.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.1092, allocations: 83.67 kB / 430.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.1092, allocations: 11.94 kB / 430.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.281e-05/0.1092, allocations: 12 kB / 430.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1093, allocations: 59.77 kB / 430.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.1095, allocations: 115.1 kB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.1099, allocations: 378.4 kB / 430.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1099, allocations: 0 / 430.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1099, allocations: 0 / 430.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.11, allocations: 0 / 430.9 MB, free: 0.8438 MB / 350.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.0008405/0.1108, allocations: 0.7306 MB / 431.6 MB, free: 40 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1108, allocations: 12.03 kB / 431.7 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.413e-05/0.1109, allocations: 192 / 431.7 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.1109, allocations: 38.73 kB / 431.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.111, allocations: 44.7 kB / 431.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.1113, allocations: 274.6 kB / 432 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.1114, allocations: 8.375 kB / 432 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.1114, allocations: 8.375 kB / 432 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.1117, allocations: 133.5 kB / 432.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1117, allocations: 0 / 432.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1117, allocations: 11.98 kB / 432.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1117, allocations: 0 / 432.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1119, allocations: 59.97 kB / 432.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.1126, allocations: 464.4 kB / 432.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.1128, allocations: 82.47 kB / 432.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1129, allocations: 60.88 kB / 432.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1129, allocations: 8 kB / 432.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.1133, allocations: 206.6 kB / 433 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1133, allocations: 0 / 433 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009232/0.1143, allocations: 483.1 kB / 433.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.1144, allocations: 170.2 kB / 433.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007048/0.1151, allocations: 0.5052 MB / 434.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.1151, allocations: 33.7 kB / 434.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.1152, allocations: 109 kB / 434.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.1153, allocations: 27.84 kB / 434.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.1154, allocations: 85.55 kB / 434.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1156, allocations: 326.8 kB / 434.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1157, allocations: 60.03 kB / 434.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1158, allocations: 73.69 kB / 434.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.1162, allocations: 347.2 kB / 435.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1162, allocations: 0 / 435.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000605/0.1168, allocations: 388.3 kB / 435.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.117, allocations: 126.8 kB / 435.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.117, allocations: 0 / 435.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.117, allocations: 7.938 kB / 435.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.592e-05/0.117, allocations: 3.938 kB / 435.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.117, allocations: 0 / 435.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.1172, allocations: 11.98 kB / 435.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/0.1172, allocations: 63.91 kB / 435.8 MB, free: 11.53 MB / 366.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.0003707/0.1176, allocations: 362.8 kB / 436.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.1177, allocations: 39.77 kB / 436.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1178, allocations: 67.14 kB / 436.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1178, allocations: 0 / 436.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1178, allocations: 0 / 436.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1178, allocations: 0 / 436.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.1188, allocations: 0.8272 MB / 437.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1188, allocations: 0 / 437.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-06/0.1188, allocations: 4 kB / 437.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1188, allocations: 4 kB / 437.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.1188, allocations: 11.98 kB / 437.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1189, allocations: 7.922 kB / 437.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1189, allocations: 0 / 437.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.1195, allocations: 0.5371 MB / 437.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.1199, allocations: 244.8 kB / 437.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.1199, allocations: 16 kB / 437.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1201, allocations: 15.94 kB / 437.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.1202, allocations: 23.97 kB / 437.9 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.1203, allocations: 63.94 kB / 438 MB, free: 9.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005246/0.1208, allocations: 390.8 kB / 438.4 MB, free: 8.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1208, allocations: 0 / 438.4 MB, free: 8.762 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.1211, allocations: 44 kB / 438.4 MB, free: 8.719 MB / 366.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.001096/0.1222, allocations: 1.092 MB / 439.5 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005264/0.1227, allocations: 377.5 kB / 439.9 MB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1227, allocations: 0 / 439.9 MB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.123, allocations: 301.6 kB / 440.2 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.1236, allocations: 115.4 kB / 440.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.1274, allocations: 2.767 MB / 443.1 MB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.1279, allocations: 0.8021 MB / 443.9 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.663e-05/0.128, allocations: 12.64 kB / 443.9 MB, free: 2.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.1281, allocations: 35.36 kB / 443.9 MB, free: 2.957 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1281, allocations: 0 / 443.9 MB, free: 2.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2311/0.3592, allocations: 6.054 MB / 450 MB, free: 24.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/8.699, allocations: 14.17 kB / 450 MB, free: 24.21 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.167872534017079] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 8.839658338984009 8.851911804 8.739373831 Calling exit ...