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.001636/0.001636, allocations: 109.1 kB / 21.22 MB, free: 0.7305 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.001989/0.001989, allocations: 203.5 kB / 24.53 MB, free: 4.066 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.492/1.492, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.002063/0.002063, allocations: 63.91 kB / 378.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.301, allocations: 53.4 MB / 432 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002897/0.3039, allocations: 1.534 MB / 433.5 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3059, allocations: 0.8965 MB / 434.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.3059, allocations: 4 kB / 434.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.726e-05/0.306, allocations: 3.938 kB / 434.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.3061, allocations: 23.78 kB / 434.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.3063, allocations: 55.89 kB / 434.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.3066, allocations: 127.7 kB / 434.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3067, allocations: 20.22 kB / 434.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006275/0.3073, allocations: 0.5809 MB / 435.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3074, allocations: 71.77 kB / 435.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.3075, allocations: 8 kB / 435.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.049e-05/0.3075, allocations: 12 kB / 435.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.3076, allocations: 67.64 kB / 435.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.3077, allocations: 111.2 kB / 435.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.3081, allocations: 375.2 kB / 435.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3081, allocations: 4 kB / 435.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3081, allocations: 0 / 435.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3081, allocations: 0 / 435.8 MB, free: 2.82 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.0007562/0.3089, allocations: 0.6513 MB / 436.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3089, allocations: 15.97 kB / 436.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.526e-05/0.3089, allocations: 192 / 436.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.309, allocations: 42.73 kB / 436.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.309, allocations: 40.7 kB / 436.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3093, allocations: 216.8 kB / 436.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3093, allocations: 8.375 kB / 436.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.3093, allocations: 4.375 kB / 436.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.3097, allocations: 141.5 kB / 437 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.3097, allocations: 0 / 437 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.3097, allocations: 4 kB / 437 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3097, allocations: 3.938 kB / 437 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.3098, allocations: 59.97 kB / 437 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.3105, allocations: 435.5 kB / 437.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.3107, allocations: 78.55 kB / 437.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.3108, allocations: 60.89 kB / 437.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.3108, allocations: 0 / 437.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003639/0.3112, allocations: 206.8 kB / 437.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.3112, allocations: 0 / 437.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008199/0.312, allocations: 479.6 kB / 438.2 MB, free: 212 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.3121, allocations: 170.2 kB / 438.4 MB, free: 4 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000682/0.3128, allocations: 0.513 MB / 438.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.3128, allocations: 29.7 kB / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.3129, allocations: 105.1 kB / 439.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.3129, allocations: 27.78 kB / 439.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.3131, allocations: 85.55 kB / 439.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3132, allocations: 322.8 kB / 439.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3134, allocations: 59.97 kB / 439.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.3135, allocations: 73.69 kB / 439.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.3139, allocations: 335.3 kB / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3139, allocations: 0 / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005852/0.3144, allocations: 392.4 kB / 440.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.3146, allocations: 130.7 kB / 440.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3146, allocations: 0 / 440.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3146, allocations: 4.031 kB / 440.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.16e-05/0.3146, allocations: 4 kB / 440.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3146, allocations: 0 / 440.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3147, allocations: 11.98 kB / 440.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/0.3148, allocations: 63.95 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.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.0003693/0.3152, allocations: 366.4 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.3152, allocations: 39.75 kB / 440.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3153, allocations: 63.09 kB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3153, allocations: 0 / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3153, allocations: 7.984 kB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3153, allocations: 0 / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.3164, allocations: 0.793 MB / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3164, allocations: 0 / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-06/0.3164, allocations: 0 / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3164, allocations: 192 / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.3164, allocations: 20 kB / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3165, allocations: 3.938 kB / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3165, allocations: 0 / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000706/0.3172, allocations: 0.5406 MB / 442.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.3175, allocations: 217.3 kB / 442.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.3176, allocations: 8 kB / 442.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3177, allocations: 15.92 kB / 442.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3178, allocations: 27.97 kB / 442.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.554e-05/0.3179, allocations: 52 kB / 442.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004814/0.3184, allocations: 386.9 kB / 443.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3184, allocations: 0 / 443.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.3187, allocations: 44 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,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.00103/0.3197, allocations: 1.089 MB / 444.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005205/0.3202, allocations: 377.5 kB / 444.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3202, allocations: 0 / 444.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.3205, allocations: 305.6 kB / 444.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/0.3212, allocations: 132.7 kB / 445 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.3248, allocations: 2.742 MB / 447.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.3253, allocations: 0.8061 MB / 448.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.683e-05/0.3253, allocations: 4.672 kB / 448.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.3254, allocations: 27.44 kB / 448.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3254, allocations: 0 / 448.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.3535, allocations: 6.254 MB / 454.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.39, allocations: 17.95 kB / 454.8 MB, free: 15.05 MB / 366.1 MB " [Timeout remaining time 648] (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: 13.866518421971705] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 11.55511055898387 11.571270854 11.260048751 Calling exit ...