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.001431/0.001431, allocations: 105 kB / 19.74 MB, free: 2.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.001675/0.001675, allocations: 218.8 kB / 22.92 MB, free: 5.535 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.296/1.296, allocations: 230.5 MB / 256.4 MB, free: 8.426 MB / 206.1 MB " [Timeout remaining time 179] 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.001818/0.001818, allocations: 71.88 kB / 376.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2197, allocations: 53.3 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002621/0.2224, allocations: 1.533 MB / 430.9 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.2242, allocations: 0.9004 MB / 431.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.2243, allocations: 0 / 431.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.358e-05/0.2244, allocations: 7.922 kB / 431.8 MB, free: 5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.457e-05/0.2245, allocations: 11.88 kB / 431.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.2247, allocations: 51.88 kB / 431.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.2249, allocations: 131.7 kB / 432 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.225, allocations: 16.2 kB / 432 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.2257, allocations: 0.581 MB / 432.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.2258, allocations: 79.67 kB / 432.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.2258, allocations: 8 kB / 432.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.564e-05/0.2259, allocations: 8 kB / 432.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.391e-05/0.226, allocations: 67.7 kB / 432.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.2261, allocations: 115.1 kB / 432.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.2265, allocations: 378.8 kB / 433.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2265, allocations: 0 / 433.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2265, allocations: 0 / 433.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.2265, allocations: 0 / 433.3 MB, free: 3.566 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.0007435/0.2273, allocations: 0.7267 MB / 434 MB, free: 2.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2273, allocations: 12.03 kB / 434 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.479e-05/0.2273, allocations: 50.61 kB / 434.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.2274, allocations: 40.7 kB / 434.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.2277, allocations: 270.7 kB / 434.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2277, allocations: 8.375 kB / 434.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.2277, allocations: 8.375 kB / 434.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.228, allocations: 129.7 kB / 434.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.228, allocations: 3.984 kB / 434.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.2281, allocations: 8 kB / 434.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2281, allocations: 4 kB / 434.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.2282, allocations: 63.89 kB / 434.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.2288, allocations: 460.5 kB / 435 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.229, allocations: 82.47 kB / 435.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.2291, allocations: 60.89 kB / 435.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.2291, allocations: 0 / 435.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.2295, allocations: 206.8 kB / 435.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.2295, allocations: 0 / 435.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007838/0.2303, allocations: 487.5 kB / 435.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.2304, allocations: 166.2 kB / 436 MB, free: 0.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.231, allocations: 0.513 MB / 436.5 MB, free: 16 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.231, allocations: 29.7 kB / 436.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.2311, allocations: 105.1 kB / 436.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.2311, allocations: 31.84 kB / 436.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2313, allocations: 81.55 kB / 436.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2314, allocations: 326.8 kB / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.2315, allocations: 55.97 kB / 437.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.2317, allocations: 73.69 kB / 437.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.232, allocations: 343.2 kB / 437.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.232, allocations: 8 kB / 437.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005285/0.2325, allocations: 392.2 kB / 437.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.939e-05/0.2326, allocations: 122.8 kB / 438.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2326, allocations: 112 / 438.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2326, allocations: 4.062 kB / 438.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.253e-05/0.2327, allocations: 8 kB / 438.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.2327, allocations: 0 / 438.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.2328, allocations: 15.98 kB / 438.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/0.2329, allocations: 59.88 kB / 438.1 MB, free: 14.25 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.0003412/0.2332, allocations: 370.8 kB / 438.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.2332, allocations: 39.77 kB / 438.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.2333, allocations: 67.14 kB / 438.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2334, allocations: 3.984 kB / 438.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2334, allocations: 0 / 438.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2334, allocations: 0 / 438.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009196/0.2343, allocations: 0.8134 MB / 439.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2343, allocations: 0 / 439.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-06/0.2343, allocations: 0 / 439.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2343, allocations: 4 kB / 439.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.2343, allocations: 19.98 kB / 439.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2343, allocations: 0 / 439.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.2343, allocations: 7.922 kB / 439.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.2349, allocations: 0.5291 MB / 440 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.2352, allocations: 260.5 kB / 440.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.2353, allocations: 8 kB / 440.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2354, allocations: 12 kB / 440.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.2355, allocations: 35.89 kB / 440.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.18e-05/0.2356, allocations: 59.92 kB / 440.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000437/0.236, allocations: 386.9 kB / 440.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.236, allocations: 0 / 440.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.2363, allocations: 40 kB / 440.8 MB, free: 11.45 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.0009354/0.2372, allocations: 1.1 MB / 441.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.2377, allocations: 377.5 kB / 442.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2377, allocations: 0 / 442.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.2379, allocations: 305.5 kB / 442.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.2385, allocations: 116.9 kB / 442.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.2417, allocations: 2.753 MB / 445.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.2422, allocations: 0.7983 MB / 446.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.043e-05/0.2422, allocations: 8.656 kB / 446.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.2422, allocations: 27.42 kB / 446.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2422, allocations: 0 / 446.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.2706, allocations: 6.088 MB / 452.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.575, allocations: 3.984 kB / 452.3 MB, free: 15.64 MB / 366.1 MB " [Timeout remaining time 652] (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 --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: 9.66953137100063]