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.00179/0.00179, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002226/0.002226, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.516/1.516, allocations: 230.2 MB / 254.5 MB, free: 15.29 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 63.89 kB / 373.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1474, allocations: 53.32 MB / 426.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002942/0.1503, allocations: 1.529 MB / 428.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.1525, allocations: 0.8887 MB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.1525, allocations: 0 / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.1527, allocations: 7.922 kB / 429.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.903e-05/0.1528, allocations: 19.86 kB / 429.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.1531, allocations: 55.88 kB / 429.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.1533, allocations: 127.7 kB / 429.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1534, allocations: 12.23 kB / 429.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007534/0.1542, allocations: 0.5771 MB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1543, allocations: 79.67 kB / 429.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.1544, allocations: 8 kB / 430 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.019e-05/0.1544, allocations: 8 kB / 430 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.1545, allocations: 63.77 kB / 430 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1547, allocations: 119.1 kB / 430.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.1551, allocations: 378.4 kB / 430.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1551, allocations: 4 kB / 430.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1551, allocations: 0 / 430.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1551, allocations: 0 / 430.5 MB, free: 1.148 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.0009699/0.1561, allocations: 0.7332 MB / 431.3 MB, free: 352 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1562, allocations: 12.03 kB / 431.3 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.178e-05/0.1562, allocations: 42.69 kB / 431.3 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.1563, allocations: 36.7 kB / 431.3 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.1567, allocations: 278.8 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.1568, allocations: 4.375 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.1568, allocations: 12.38 kB / 431.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.1571, allocations: 133.7 kB / 431.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1571, allocations: 0 / 431.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.1572, allocations: 4 kB / 431.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1572, allocations: 4 kB / 431.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.1573, allocations: 59.91 kB / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008742/0.1582, allocations: 468.4 kB / 432.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1584, allocations: 78.48 kB / 432.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.1585, allocations: 64.89 kB / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.1586, allocations: 0 / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004253/0.159, allocations: 202.7 kB / 432.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.159, allocations: 0 / 432.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008861/0.1599, allocations: 484.2 kB / 433.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.16, allocations: 170.2 kB / 433.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007198/0.1607, allocations: 0.513 MB / 433.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.1608, allocations: 33.7 kB / 433.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.1609, allocations: 101.1 kB / 433.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.1609, allocations: 27.84 kB / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.161, allocations: 81.5 kB / 434 MB, free: 13.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1612, allocations: 326.8 kB / 434.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1614, allocations: 59.97 kB / 434.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.1615, allocations: 73.69 kB / 434.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.162, allocations: 349.5 kB / 434.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.162, allocations: 0 / 434.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006196/0.1626, allocations: 392.3 kB / 435.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.1627, allocations: 130.8 kB / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1627, allocations: 0 / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1627, allocations: 0 / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-05/0.1628, allocations: 0 / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.1628, allocations: 4 kB / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.1629, allocations: 12.03 kB / 435.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/0.163, allocations: 59.92 kB / 435.4 MB, free: 11.84 MB / 366.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.000423/0.1634, allocations: 366.8 kB / 435.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.1635, allocations: 43.77 kB / 435.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.1636, allocations: 67.16 kB / 435.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1636, allocations: 0 / 435.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1637, allocations: 0 / 435.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1637, allocations: 0 / 435.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.1647, allocations: 0.8321 MB / 436.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1647, allocations: 0 / 436.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-06/0.1647, allocations: 0 / 436.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1647, allocations: 0 / 436.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.1648, allocations: 15.98 kB / 436.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1648, allocations: 0 / 436.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.46e-05/0.1649, allocations: 3.938 kB / 436.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007758/0.1656, allocations: 0.5371 MB / 437.2 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.166, allocations: 248.6 kB / 437.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.1661, allocations: 15.94 kB / 437.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1662, allocations: 11.98 kB / 437.5 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.1663, allocations: 27.92 kB / 437.5 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.014e-05/0.1664, allocations: 59.92 kB / 437.6 MB, free: 9.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005133/0.1669, allocations: 386.9 kB / 438 MB, free: 9.082 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1669, allocations: 0 / 438 MB, free: 9.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.1672, allocations: 44 kB / 438 MB, free: 9.039 MB / 366.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.001136/0.1684, allocations: 1.094 MB / 439.1 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000557/0.1689, allocations: 377.5 kB / 439.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1689, allocations: 0 / 439.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.1693, allocations: 305.9 kB / 439.8 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.1699, allocations: 123 kB / 439.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.1738, allocations: 2.763 MB / 442.7 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.1743, allocations: 0.8019 MB / 443.5 MB, free: 3.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.1744, allocations: 8.656 kB / 443.5 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.1744, allocations: 27.44 kB / 443.5 MB, free: 3.281 MB / 366.1 MB Notification: Performance of SimCode: time 1.412e-06/0.1744, allocations: 0 / 443.5 MB, free: 3.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2352/0.4096, allocations: 6.03 MB / 449.5 MB, free: 25.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.398, allocations: 4.719 kB / 449.5 MB, free: 25.13 MB / 366.1 MB " [Timeout remaining time 652] (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] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.975013442803174]