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.001637/0.001637, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002106/0.002106, allocations: 207.6 kB / 24.53 MB, free: 4.07 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.489/1.489, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.001838/0.001838, allocations: 63.91 kB / 378.6 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2638, allocations: 53.41 MB / 432 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003244/0.267, allocations: 1.526 MB / 433.5 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.2694, allocations: 0.8926 MB / 434.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.2694, allocations: 4 kB / 434.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.2695, allocations: 7.922 kB / 434.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.2696, allocations: 27.8 kB / 434.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.2699, allocations: 51.88 kB / 434.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.2701, allocations: 127.8 kB / 434.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2702, allocations: 16.22 kB / 434.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006942/0.2709, allocations: 0.5848 MB / 435.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.2711, allocations: 71.75 kB / 435.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.2711, allocations: 8 kB / 435.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.348e-05/0.2712, allocations: 12 kB / 435.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.284e-05/0.2713, allocations: 67.64 kB / 435.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.2714, allocations: 111.2 kB / 435.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.2718, allocations: 379.2 kB / 435.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2718, allocations: 0 / 435.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2718, allocations: 0 / 435.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.2718, allocations: 0 / 435.8 MB, free: 2.824 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.0008283/0.2727, allocations: 0.6591 MB / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.2727, allocations: 12.03 kB / 436.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.449e-05/0.2727, allocations: 192 / 436.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.2728, allocations: 38.73 kB / 436.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.254e-05/0.2729, allocations: 40.7 kB / 436.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.2732, allocations: 220.8 kB / 436.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.2732, allocations: 8.375 kB / 436.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.2732, allocations: 8.312 kB / 436.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.2736, allocations: 133.5 kB / 436.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2736, allocations: 3.984 kB / 437 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.2736, allocations: 4 kB / 437 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2736, allocations: 0 / 437 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.2737, allocations: 59.97 kB / 437 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007445/0.2745, allocations: 439.5 kB / 437.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.2747, allocations: 74.55 kB / 437.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.2748, allocations: 60.89 kB / 437.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.2748, allocations: 0 / 437.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004075/0.2753, allocations: 206.8 kB / 437.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.2753, allocations: 3.938 kB / 437.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008549/0.2761, allocations: 483.5 kB / 438.3 MB, free: 208 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.2762, allocations: 170.2 kB / 438.4 MB, free: 0 / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006635/0.2769, allocations: 0.5091 MB / 438.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.2769, allocations: 33.7 kB / 439 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.277, allocations: 101.1 kB / 439.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.2771, allocations: 23.8 kB / 439.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.2772, allocations: 85.55 kB / 439.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2773, allocations: 326.8 kB / 439.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2775, allocations: 59.97 kB / 439.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.2776, allocations: 77.67 kB / 439.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.278, allocations: 335.3 kB / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.278, allocations: 112 / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006/0.2786, allocations: 392.2 kB / 440.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.2787, allocations: 130.8 kB / 440.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2787, allocations: 32 / 440.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2787, allocations: 4 kB / 440.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.535e-05/0.2787, allocations: 4 kB / 440.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2788, allocations: 0 / 440.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.2789, allocations: 11.98 kB / 440.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-05/0.279, allocations: 59.88 kB / 440.5 MB, free: 13.73 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.0004024/0.2794, allocations: 366.5 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.2794, allocations: 35.77 kB / 440.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.2795, allocations: 67.09 kB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.2795, allocations: 4 kB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2795, allocations: 0 / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2796, allocations: 3.984 kB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.2806, allocations: 0.7815 MB / 441.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2806, allocations: 4 kB / 441.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-06/0.2806, allocations: 3.984 kB / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2806, allocations: 0 / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.2806, allocations: 16 kB / 441.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2806, allocations: 3.938 kB / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2806, allocations: 0 / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/0.2813, allocations: 0.5405 MB / 442.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.2817, allocations: 213.3 kB / 442.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.2817, allocations: 8 kB / 442.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.2818, allocations: 15.92 kB / 442.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.282, allocations: 27.97 kB / 442.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/0.282, allocations: 55.98 kB / 442.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004876/0.2825, allocations: 386.9 kB / 443 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2825, allocations: 4 kB / 443 MB, free: 11.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.2828, allocations: 47.94 kB / 443.1 MB, free: 11.02 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.001103/0.2839, allocations: 1.096 MB / 444.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005357/0.2845, allocations: 377.5 kB / 444.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2845, allocations: 4.062 kB / 444.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.2848, allocations: 301.5 kB / 444.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.2854, allocations: 125.5 kB / 445 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.2891, allocations: 2.745 MB / 447.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.2896, allocations: 0.8022 MB / 448.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.834e-05/0.2897, allocations: 12.66 kB / 448.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.2898, allocations: 23.44 kB / 448.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2898, allocations: 0 / 448.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.3187, allocations: 6.246 MB / 454.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.32, allocations: 13.84 kB / 454.8 MB, free: 15.06 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.7812349399901] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 11.48056896001799 11.50601136 11.229534084 Calling exit ...