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.001273/0.001273, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.00148/0.00148, allocations: 205.5 kB / 24.51 MB, free: 3.945 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.447/1.447, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.002136/0.002136, allocations: 59.91 kB / 378.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2992, allocations: 53.41 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002981/0.3022, allocations: 1.479 MB / 433.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3042, allocations: 0.8382 MB / 434.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.874e-05/0.3043, allocations: 4 kB / 434.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.3044, allocations: 7.875 kB / 434.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.3045, allocations: 15.86 kB / 434.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.3048, allocations: 55.88 kB / 434.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.305, allocations: 127.7 kB / 434.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3052, allocations: 16.22 kB / 434.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000732/0.3059, allocations: 0.5849 MB / 435 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.3061, allocations: 75.69 kB / 435.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.3061, allocations: 8 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.724e-05/0.3062, allocations: 8 kB / 435.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3063, allocations: 67.75 kB / 435.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.3064, allocations: 83.3 kB / 435.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.3068, allocations: 380.5 kB / 435.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3069, allocations: 0 / 435.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3069, allocations: 3.938 kB / 435.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.3069, allocations: 0 / 435.6 MB, free: 2.711 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.0008552/0.3077, allocations: 0.6553 MB / 436.3 MB, free: 2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3078, allocations: 12.03 kB / 436.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.397e-05/0.3078, allocations: 192 / 436.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.038e-05/0.3078, allocations: 42.73 kB / 436.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.3079, allocations: 40.7 kB / 436.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.3082, allocations: 216.8 kB / 436.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.3082, allocations: 8.375 kB / 436.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.3083, allocations: 4.375 kB / 436.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.3087, allocations: 248.3 kB / 436.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3087, allocations: 4 kB / 436.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.3087, allocations: 8 kB / 436.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3088, allocations: 8 kB / 436.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.309, allocations: 174.8 kB / 437 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006942/0.3097, allocations: 419.5 kB / 437.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.3099, allocations: 193.3 kB / 437.6 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.3102, allocations: 179.7 kB / 437.8 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.3102, allocations: 0 / 437.8 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005039/0.3107, allocations: 337.7 kB / 438.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3107, allocations: 3.938 kB / 438.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001054/0.3117, allocations: 0.697 MB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.3119, allocations: 178.2 kB / 439 MB, free: 14.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.3126, allocations: 0.5052 MB / 439.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.3126, allocations: 29.7 kB / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.3127, allocations: 109 kB / 439.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.3127, allocations: 23.86 kB / 439.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3129, allocations: 81.55 kB / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.313, allocations: 326.8 kB / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.3133, allocations: 178.8 kB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.3135, allocations: 192.5 kB / 440.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.3139, allocations: 362.3 kB / 440.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3139, allocations: 0 / 440.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007206/0.3146, allocations: 0.4991 MB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.3147, allocations: 130.8 kB / 441.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3147, allocations: 0 / 441.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3148, allocations: 0 / 441.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.078e-05/0.3148, allocations: 7.938 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3148, allocations: 0 / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3149, allocations: 8 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-05/0.315, allocations: 67.86 kB / 441.5 MB, free: 12.2 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.0004341/0.3155, allocations: 362.6 kB / 441.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.3155, allocations: 43.7 kB / 441.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.3156, allocations: 67.08 kB / 442 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3157, allocations: 0 / 442 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3157, allocations: 0 / 442 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3157, allocations: 0 / 442 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.3169, allocations: 0.8896 MB / 442.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3169, allocations: 8 kB / 442.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-06/0.3169, allocations: 0 / 442.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3169, allocations: 0 / 442.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.3169, allocations: 19.98 kB / 442.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.317, allocations: 3.938 kB / 442.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.317, allocations: 0 / 442.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000847/0.3178, allocations: 0.6566 MB / 443.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.3182, allocations: 213.3 kB / 443.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.3183, allocations: 8 kB / 443.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3184, allocations: 15.92 kB / 443.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.3185, allocations: 31.95 kB / 443.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.3186, allocations: 52 kB / 443.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000535/0.3191, allocations: 390.8 kB / 444.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3191, allocations: 0 / 444.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000301/0.3194, allocations: 44 kB / 444.3 MB, free: 9.223 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.001262/0.3207, allocations: 1.216 MB / 445.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007567/0.3215, allocations: 0.6046 MB / 446.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3215, allocations: 0 / 446.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.3219, allocations: 424.4 kB / 446.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.3225, allocations: 130.2 kB / 446.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.3267, allocations: 3.363 MB / 450 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.327, allocations: 189.7 kB / 450.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.3271, allocations: 12.64 kB / 450.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.3272, allocations: 31.42 kB / 450.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3272, allocations: 0 / 450.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.36, allocations: 6.599 MB / 456.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.37, allocations: 4.062 kB / 456.8 MB, free: 12.22 MB / 366.1 MB " [Timeout remaining time 648] (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.7706797439605] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 11.5256636319682 11.540644768 11.230453589 Calling exit ...