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.001486/0.001486, allocations: 116.4 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.00175/0.00175, allocations: 208.9 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.473/1.473, allocations: 230.2 MB / 254.5 MB, free: 15.41 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 67.89 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1157, allocations: 53.33 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003358/0.119, allocations: 1.529 MB / 428.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1212, allocations: 0.8888 MB / 429.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.1213, allocations: 0 / 429.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.1214, allocations: 7.875 kB / 429.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.79e-05/0.1215, allocations: 19.86 kB / 429.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.1218, allocations: 51.88 kB / 429.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.122, allocations: 127.7 kB / 429.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1221, allocations: 16.22 kB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006466/0.1228, allocations: 0.5849 MB / 429.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.1229, allocations: 79.67 kB / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.123, allocations: 8 kB / 430 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.847e-05/0.123, allocations: 8 kB / 430 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.792e-05/0.1231, allocations: 63.77 kB / 430 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1232, allocations: 115.1 kB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004309/0.1236, allocations: 370.5 kB / 430.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1236, allocations: 7.938 kB / 430.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1236, allocations: 0 / 430.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1236, allocations: 0 / 430.5 MB, free: 1.113 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.0008655/0.1245, allocations: 0.7267 MB / 431.3 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1246, allocations: 12.03 kB / 431.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.1246, allocations: 38.75 kB / 431.3 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.1247, allocations: 40.69 kB / 431.3 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.1251, allocations: 274.6 kB / 431.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1251, allocations: 8.375 kB / 431.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.1251, allocations: 8.375 kB / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.1255, allocations: 133.7 kB / 431.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1255, allocations: 0 / 431.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.1255, allocations: 4 kB / 431.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1255, allocations: 4 kB / 431.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1256, allocations: 63.95 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008098/0.1265, allocations: 468.4 kB / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1266, allocations: 78.47 kB / 432.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.1268, allocations: 60.89 kB / 432.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.1268, allocations: 8 kB / 432.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003899/0.1272, allocations: 209.1 kB / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.1272, allocations: 0 / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008424/0.128, allocations: 476.3 kB / 433.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.1282, allocations: 170.2 kB / 433.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006692/0.1288, allocations: 0.5168 MB / 433.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.1289, allocations: 29.7 kB / 433.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.129, allocations: 105.1 kB / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.129, allocations: 23.8 kB / 433.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1292, allocations: 89.55 kB / 434 MB, free: 13.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1293, allocations: 326.8 kB / 434.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1295, allocations: 55.97 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1296, allocations: 69.69 kB / 434.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.13, allocations: 343.3 kB / 434.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.13, allocations: 3.938 kB / 434.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005863/0.1306, allocations: 399.7 kB / 435.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.1307, allocations: 122.8 kB / 435.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1307, allocations: 0 / 435.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1307, allocations: 0 / 435.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-05/0.1308, allocations: 0 / 435.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1308, allocations: 0 / 435.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.1309, allocations: 24.05 kB / 435.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/0.131, allocations: 55.94 kB / 435.4 MB, free: 11.82 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.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.0004129/0.1314, allocations: 370.8 kB / 435.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.1315, allocations: 43.77 kB / 435.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.1316, allocations: 63.14 kB / 435.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1316, allocations: 4 kB / 435.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1316, allocations: 0 / 435.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1316, allocations: 0 / 435.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.1327, allocations: 0.8174 MB / 436.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1328, allocations: 7.938 kB / 436.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-06/0.1328, allocations: 7.938 kB / 436.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1328, allocations: 0 / 436.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.1328, allocations: 12 kB / 436.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1328, allocations: 0 / 436.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.1328, allocations: 7.922 kB / 436.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007666/0.1336, allocations: 0.5332 MB / 437.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/0.134, allocations: 244.6 kB / 437.5 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.718e-05/0.134, allocations: 11.98 kB / 437.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.1341, allocations: 16 kB / 437.5 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.1343, allocations: 27.91 kB / 437.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.1343, allocations: 59.94 kB / 437.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005232/0.1349, allocations: 390.9 kB / 438 MB, free: 9.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1349, allocations: 0 / 438 MB, free: 9.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1351, allocations: 40 kB / 438 MB, free: 9.012 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,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.001172/0.1363, allocations: 1.112 MB / 439.1 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005398/0.1368, allocations: 373.5 kB / 439.5 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1368, allocations: 0 / 439.5 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.1372, allocations: 305.6 kB / 439.8 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006128/0.1378, allocations: 114.3 kB / 439.9 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.1415, allocations: 2.759 MB / 442.7 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.142, allocations: 0.806 MB / 443.5 MB, free: 3.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.1421, allocations: 8.656 kB / 443.5 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.1421, allocations: 27.42 kB / 443.5 MB, free: 3.246 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1421, allocations: 3.938 kB / 443.5 MB, free: 3.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2316/0.3737, allocations: 6.024 MB / 449.5 MB, free: 24.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.383, allocations: 4.672 kB / 449.5 MB, free: 24.73 MB / 366.1 MB " [Timeout remaining time 652] (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] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.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.845117649063468]