Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.001328/0.001328, allocations: 118.2 kB / 18.49 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.001387/0.001387, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.48/1.48, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.NXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 59.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1079, allocations: 53.38 MB / 427.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002648/0.1106, allocations: 1.52 MB / 428.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1125, allocations: 0.881 MB / 429.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.1126, allocations: 8 kB / 429.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.974e-05/0.1126, allocations: 11.86 kB / 429.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.1127, allocations: 19.84 kB / 429.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1129, allocations: 47.89 kB / 429.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1132, allocations: 131.7 kB / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.051e-05/0.1132, allocations: 12.23 kB / 429.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006248/0.1139, allocations: 0.581 MB / 430.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.114, allocations: 71.69 kB / 430.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.114, allocations: 12 kB / 430.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/0.1141, allocations: 8 kB / 430.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.113e-05/0.1142, allocations: 71.75 kB / 430.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1143, allocations: 115.1 kB / 430.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.1147, allocations: 374.4 kB / 430.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1147, allocations: 3.938 kB / 430.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1147, allocations: 4 kB / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1147, allocations: 0 / 430.9 MB, free: 0.7188 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.2012/0.3159, allocations: 0.7229 MB / 431.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.3159, allocations: 12.3 kB / 431.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.972e-05/0.3159, allocations: 2.688 kB / 431.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.316, allocations: 41.81 kB / 431.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.36e-05/0.3161, allocations: 39.08 kB / 431.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.3163, allocations: 281.3 kB / 432 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.3164, allocations: 5.781 kB / 432 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.3164, allocations: 10.5 kB / 432 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.3168, allocations: 131.8 kB / 432.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3168, allocations: 2.562 kB / 432.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.3168, allocations: 4.031 kB / 432.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3168, allocations: 3.094 kB / 432.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.317, allocations: 58.16 kB / 432.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.3176, allocations: 460.9 kB / 432.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.3177, allocations: 74.52 kB / 432.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.3179, allocations: 62.08 kB / 432.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.3179, allocations: 0 / 432.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003466/0.3182, allocations: 215 kB / 433 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3182, allocations: 0 / 433 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007837/0.319, allocations: 488.1 kB / 433.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.3191, allocations: 171.5 kB / 433.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/0.3196, allocations: 0.5093 MB / 434.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3196, allocations: 34.8 kB / 434.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.3197, allocations: 100.4 kB / 434.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.3197, allocations: 35.09 kB / 434.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3198, allocations: 82.42 kB / 434.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.3198, allocations: 322.5 kB / 434.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.32, allocations: 60.14 kB / 434.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3201, allocations: 72 kB / 434.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.3204, allocations: 344 kB / 435.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3204, allocations: 1.031 kB / 435.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004812/0.3208, allocations: 390.2 kB / 435.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/0.3209, allocations: 129.5 kB / 435.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3209, allocations: 3.188 kB / 435.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3209, allocations: 8.016 kB / 435.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.882e-05/0.3209, allocations: 1.125 kB / 435.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.3209, allocations: 1.062 kB / 435.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.3211, allocations: 11.56 kB / 435.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/0.3211, allocations: 55.88 kB / 435.8 MB, free: 8.648 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0002516/0.3214, allocations: 361.7 kB / 436.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.3214, allocations: 43.8 kB / 436.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.383e-05/0.3215, allocations: 62.3 kB / 436.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3215, allocations: 5.094 kB / 436.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3215, allocations: 2.156 kB / 436.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3215, allocations: 5.891 kB / 436.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008312/0.3224, allocations: 0.8145 MB / 437.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3224, allocations: 0.5 kB / 437.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-06/0.3224, allocations: 6.656 kB / 437.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.3224, allocations: 2.438 kB / 437.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.3224, allocations: 17.06 kB / 437.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3224, allocations: 3.562 kB / 437.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3224, allocations: 2.375 kB / 437.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.3231, allocations: 0.5432 MB / 437.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.3233, allocations: 252.9 kB / 437.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.3234, allocations: 9.562 kB / 437.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3235, allocations: 14.28 kB / 437.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.3236, allocations: 25.38 kB / 437.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/0.3236, allocations: 61.61 kB / 438 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004059/0.324, allocations: 386.6 kB / 438.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.324, allocations: 0 / 438.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.3243, allocations: 41.34 kB / 438.4 MB, free: 7.125 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0007636/0.3251, allocations: 1.094 MB / 439.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004052/0.3255, allocations: 370.3 kB / 439.9 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3255, allocations: 0 / 439.9 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.3257, allocations: 311 kB / 440.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.3263, allocations: 113.7 kB / 440.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.3293, allocations: 2.773 MB / 443.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.3296, allocations: 0.8004 MB / 443.9 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.131e-05/0.3297, allocations: 6.516 kB / 443.9 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.3297, allocations: 30.61 kB / 443.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3297, allocations: 0 / 443.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.3547, allocations: 6.088 MB / 450 MB, free: 2.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/8.616, allocations: 9.156 kB / 450 MB, free: 2.066 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.023378174984828] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 8.742812723037787 8.764826826 8.645898692 Calling exit ...