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.001495/0.001495, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001916/0.001916, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.00215/0.00215, allocations: 68.77 kB / 378.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2862, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002911/0.2891, allocations: 1.536 MB / 433.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.2913, allocations: 0.8848 MB / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.2914, allocations: 4 kB / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.2915, allocations: 15.86 kB / 434.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2916, allocations: 19.84 kB / 434.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.292, allocations: 51.89 kB / 434.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.2922, allocations: 131.7 kB / 434.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.2923, allocations: 20.22 kB / 434.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00076/0.2931, allocations: 0.5732 MB / 435.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.2933, allocations: 75.69 kB / 435.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.2933, allocations: 12 kB / 435.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.884e-05/0.2934, allocations: 12 kB / 435.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2935, allocations: 63.7 kB / 435.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.2936, allocations: 119.2 kB / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.2941, allocations: 371.2 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.2941, allocations: 4 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2941, allocations: 0 / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2941, allocations: 0 / 435.8 MB, free: 3.008 MB / 334.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.0008874/0.295, allocations: 0.6514 MB / 436.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.295, allocations: 8.031 kB / 436.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.208e-05/0.2951, allocations: 38.75 kB / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/0.2952, allocations: 48.64 kB / 436.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.2955, allocations: 220.8 kB / 436.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.2955, allocations: 12.34 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.2956, allocations: 8.375 kB / 436.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.2959, allocations: 125.7 kB / 436.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2959, allocations: 0 / 436.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.2959, allocations: 8 kB / 436.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2959, allocations: 4 kB / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.2961, allocations: 55.97 kB / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.2968, allocations: 439.5 kB / 437.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.297, allocations: 70.55 kB / 437.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.2971, allocations: 64.89 kB / 437.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.2971, allocations: 0 / 437.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.2976, allocations: 214.7 kB / 437.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2976, allocations: 4 kB / 437.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008416/0.2984, allocations: 476.1 kB / 438.2 MB, free: 400 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.2985, allocations: 166.2 kB / 438.4 MB, free: 196 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006979/0.2992, allocations: 0.5168 MB / 438.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.2993, allocations: 29.7 kB / 438.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.2994, allocations: 105 kB / 439 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.2994, allocations: 23.86 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.2995, allocations: 85.55 kB / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.2997, allocations: 330.8 kB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.2998, allocations: 51.97 kB / 439.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.3, allocations: 73.69 kB / 439.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.3004, allocations: 345.9 kB / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3004, allocations: 0 / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005707/0.301, allocations: 388.3 kB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.3011, allocations: 126.8 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3011, allocations: 0 / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3011, allocations: 4.109 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.436e-05/0.3011, allocations: 7.875 kB / 440.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3011, allocations: 4.062 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.3012, allocations: 11.98 kB / 440.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.13e-05/0.3013, allocations: 55.94 kB / 440.5 MB, free: 13.92 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.0004761/0.3018, allocations: 362.4 kB / 440.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.3018, allocations: 39.77 kB / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.302, allocations: 67.09 kB / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.302, allocations: 0 / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.302, allocations: 0 / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.302, allocations: 0 / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.303, allocations: 0.7968 MB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.303, allocations: 0 / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-06/0.303, allocations: 0 / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.303, allocations: 4 kB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.303, allocations: 12.17 kB / 441.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.303, allocations: 4 kB / 441.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.303, allocations: 7.938 kB / 441.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007419/0.3038, allocations: 0.5407 MB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/0.3042, allocations: 209.3 kB / 442.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.3043, allocations: 12 kB / 442.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.3044, allocations: 11.98 kB / 442.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3045, allocations: 19.92 kB / 442.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/0.3046, allocations: 63.98 kB / 442.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005093/0.3051, allocations: 386.9 kB / 443 MB, free: 11.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3051, allocations: 0 / 443 MB, free: 11.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.3054, allocations: 44 kB / 443 MB, free: 11.22 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.001049/0.3064, allocations: 1.1 MB / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005938/0.307, allocations: 373.5 kB / 444.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.307, allocations: 0 / 444.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.3073, allocations: 305.6 kB / 444.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.3079, allocations: 120.6 kB / 444.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.3115, allocations: 2.752 MB / 447.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.312, allocations: 0.8022 MB / 448.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.018e-05/0.3121, allocations: 16.64 kB / 448.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.3122, allocations: 23.44 kB / 448.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3122, allocations: 0 / 448.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.3425, allocations: 6.109 MB / 454.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.517, allocations: 0 / 454.6 MB, free: 15.39 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.295031559187919] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 8.58933232165873 8.613961267 8.315228041 Calling exit ...