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.005207/0.005207, allocations: 110.5 kB / 21.96 MB, free: 5.25 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.001334/0.001334, allocations: 205.1 kB / 25.27 MB, free: 3.238 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.296/1.296, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.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.001855/0.001855, allocations: 51.94 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2494, allocations: 49.16 MB / 397.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002614/0.252, allocations: 1.514 MB / 398.6 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.2538, allocations: 0.9014 MB / 399.6 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.744e-05/0.2539, allocations: 1.094 kB / 399.6 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.533e-05/0.254, allocations: 12.41 kB / 399.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.648e-05/0.2541, allocations: 26.8 kB / 399.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.2543, allocations: 52.41 kB / 399.6 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.2545, allocations: 130.1 kB / 399.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.027e-05/0.2546, allocations: 15.2 kB / 399.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006201/0.2552, allocations: 0.5735 MB / 400.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.2554, allocations: 80.67 kB / 400.4 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.2554, allocations: 10.28 kB / 400.4 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.648e-05/0.2554, allocations: 9.688 kB / 400.5 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.2555, allocations: 63.53 kB / 400.5 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.356e-05/0.2556, allocations: 122.8 kB / 400.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.256, allocations: 375.6 kB / 401 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.256, allocations: 1.125 kB / 401 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.256, allocations: 0 / 401 MB, free: 6.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.256, allocations: 0 / 401 MB, free: 6.902 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.0005944/0.2566, allocations: 0.6524 MB / 401.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2566, allocations: 13.64 kB / 401.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.648e-05/0.2567, allocations: 1.562 kB / 401.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.2567, allocations: 44.91 kB / 401.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.2568, allocations: 42.36 kB / 401.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.257, allocations: 218 kB / 402 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.257, allocations: 5.891 kB / 402 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.257, allocations: 12.06 kB / 402 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.2573, allocations: 130.9 kB / 402.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2573, allocations: 1.062 kB / 402.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.2573, allocations: 2.781 kB / 402.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2573, allocations: 1.25 kB / 402.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2575, allocations: 58.27 kB / 402.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.258, allocations: 436.1 kB / 402.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.2582, allocations: 73.89 kB / 402.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.2583, allocations: 62.52 kB / 402.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.2583, allocations: 1.156 kB / 402.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/0.2586, allocations: 213.3 kB / 402.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.103e-06/0.2586, allocations: 4 kB / 403 MB, free: 5.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006789/0.2593, allocations: 473.7 kB / 403.4 MB, free: 5.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.2594, allocations: 166.3 kB / 403.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.2599, allocations: 0.5168 MB / 404.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2599, allocations: 29.02 kB / 404.1 MB, free: 4.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.26, allocations: 111.7 kB / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.26, allocations: 25.73 kB / 404.3 MB, free: 4.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-05/0.2601, allocations: 84.11 kB / 404.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.2602, allocations: 329.4 kB / 404.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.2603, allocations: 56.41 kB / 404.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2604, allocations: 72.95 kB / 404.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.2606, allocations: 349.8 kB / 405.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2606, allocations: 1.469 kB / 405.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004448/0.2611, allocations: 379.5 kB / 405.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/0.2611, allocations: 127.8 kB / 405.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2611, allocations: 1.188 kB / 405.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2611, allocations: 0 / 405.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.007e-05/0.2612, allocations: 6.219 kB / 405.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2612, allocations: 0.9375 kB / 405.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.2613, allocations: 14.66 kB / 405.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/0.2614, allocations: 61.91 kB / 405.7 MB, free: 3.445 MB / 318.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.0002708/0.2616, allocations: 356.2 kB / 406.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.2617, allocations: 39.34 kB / 406.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.748e-05/0.2618, allocations: 69.45 kB / 406.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2618, allocations: 0.7969 kB / 406.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2618, allocations: 1.125 kB / 406.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2618, allocations: 0 / 406.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008763/0.2627, allocations: 0.7995 MB / 407 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2627, allocations: 5.375 kB / 407 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-06/0.2627, allocations: 0.75 kB / 407 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2627, allocations: 1.375 kB / 407 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.2627, allocations: 16.25 kB / 407 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2627, allocations: 9.312 kB / 407 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2627, allocations: 0 / 407 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.2634, allocations: 0.5329 MB / 407.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.2638, allocations: 207.3 kB / 407.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.734e-05/0.2638, allocations: 11.59 kB / 407.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.264, allocations: 13.16 kB / 407.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.2641, allocations: 30.67 kB / 407.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.539e-05/0.2642, allocations: 58.7 kB / 407.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005653/0.2648, allocations: 390.9 kB / 408.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2648, allocations: 0 / 408.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.2651, allocations: 44.8 kB / 408.3 MB, free: 1.816 MB / 318.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.001014/0.2662, allocations: 1.083 MB / 409.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005111/0.2667, allocations: 379.1 kB / 409.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2667, allocations: 3.938 kB / 409.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.2669, allocations: 301.3 kB / 410 MB, free: 360 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.2676, allocations: 123.2 kB / 410.1 MB, free: 320 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.2714, allocations: 2.757 MB / 412.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.2719, allocations: 0.8034 MB / 413.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.233e-05/0.272, allocations: 9.5 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.272, allocations: 25.98 kB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.272, allocations: 0 / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.2993, allocations: 6.254 MB / 420 MB, free: 10.45 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.83, allocations: 2.562 kB / 420 MB, free: 10.45 MB / 334.1 MB " [Timeout remaining time 649] (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: 12.993805384030566] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 10.986240319965873 11.000414025 10.74150935 Calling exit ...