Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001263/0.001263, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001399/0.001399, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.4 MB / 254.7 MB, free: 14.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 63.89 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1124, allocations: 53.31 MB / 426.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00299/0.1154, allocations: 1.528 MB / 428.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1174, allocations: 0.8848 MB / 429.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.1175, allocations: 4 kB / 429.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.514e-05/0.1176, allocations: 11.92 kB / 429.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.1177, allocations: 23.8 kB / 429.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.118, allocations: 47.88 kB / 429.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.1182, allocations: 119.8 kB / 429.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.1183, allocations: 16.22 kB / 429.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007176/0.119, allocations: 0.5809 MB / 430.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.1192, allocations: 75.73 kB / 430.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.1193, allocations: 11.94 kB / 430.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.456e-05/0.1193, allocations: 12 kB / 430.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.1194, allocations: 67.7 kB / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.1196, allocations: 115.2 kB / 430.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.1201, allocations: 378.4 kB / 430.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1201, allocations: 0 / 430.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1201, allocations: 0 / 430.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.1201, allocations: 0 / 430.7 MB, free: 0.9844 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.001041/0.1211, allocations: 0.7305 MB / 431.5 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1212, allocations: 8.031 kB / 431.5 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.4e-05/0.1212, allocations: 38.73 kB / 431.5 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.1213, allocations: 44.7 kB / 431.6 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1968/0.3182, allocations: 272.2 kB / 431.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.3182, allocations: 7.75 kB / 431.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.3182, allocations: 6.906 kB / 431.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.3186, allocations: 125.7 kB / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3186, allocations: 0 / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.3186, allocations: 6.938 kB / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3186, allocations: 1.969 kB / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.3188, allocations: 63.03 kB / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/0.3195, allocations: 468.4 kB / 432.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.3197, allocations: 81.08 kB / 432.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3198, allocations: 61.19 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.3199, allocations: 4.656 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003917/0.3202, allocations: 203.1 kB / 432.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.3203, allocations: 1.156 kB / 432.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007933/0.321, allocations: 483.2 kB / 433.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.3211, allocations: 164.6 kB / 433.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005624/0.3217, allocations: 0.5146 MB / 434 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3217, allocations: 32.7 kB / 434 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.3217, allocations: 101 kB / 434.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.3218, allocations: 33.45 kB / 434.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3219, allocations: 82.81 kB / 434.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.322, allocations: 327 kB / 434.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.3221, allocations: 56.23 kB / 434.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3222, allocations: 73.16 kB / 434.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.3225, allocations: 348.8 kB / 435 MB, free: 9.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3225, allocations: 0 / 435 MB, free: 9.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004795/0.323, allocations: 396 kB / 435.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.323, allocations: 125.5 kB / 435.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.323, allocations: 1.062 kB / 435.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3231, allocations: 5.094 kB / 435.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.212e-05/0.3231, allocations: 5.031 kB / 435.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3231, allocations: 3.141 kB / 435.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.3232, allocations: 11.36 kB / 435.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/0.3233, allocations: 53.53 kB / 435.6 MB, free: 9.039 MB / 350.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.0002966/0.3236, allocations: 362.8 kB / 435.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.3237, allocations: 43.36 kB / 436 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.992e-05/0.3238, allocations: 73.09 kB / 436.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3238, allocations: 1.156 kB / 436.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3238, allocations: 0 / 436.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3238, allocations: 2.953 kB / 436.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009143/0.3247, allocations: 0.8246 MB / 436.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3247, allocations: 0 / 436.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-06/0.3247, allocations: 0 / 436.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3247, allocations: 1.25 kB / 436.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.3247, allocations: 12.86 kB / 436.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3247, allocations: 4.5 kB / 436.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3247, allocations: 0 / 436.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.3253, allocations: 0.541 MB / 437.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.3256, allocations: 249.2 kB / 437.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.3257, allocations: 10.98 kB / 437.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.3258, allocations: 13.98 kB / 437.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.3259, allocations: 27.72 kB / 437.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/0.326, allocations: 62.64 kB / 437.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004493/0.3264, allocations: 386.8 kB / 438.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3264, allocations: 0 / 438.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.3267, allocations: 41.09 kB / 438.2 MB, free: 7.613 MB / 350.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.0008152/0.3276, allocations: 1.104 MB / 439.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004156/0.328, allocations: 373 kB / 439.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.328, allocations: 0 / 439.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.3282, allocations: 305 kB / 440 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005984/0.3288, allocations: 120.1 kB / 440.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.3319, allocations: 2.776 MB / 442.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3322, allocations: 0.7963 MB / 443.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.644e-05/0.3323, allocations: 12.25 kB / 443.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.3323, allocations: 29.19 kB / 443.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3323, allocations: 1.5 kB / 443.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.3654, allocations: 6.068 MB / 449.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.13, allocations: 1.344 kB / 449.8 MB, free: 2.613 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.386977928224951] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 8.1978032393381 8.210516043 8.087698646 Calling exit ...