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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 61.89 kB / 306.4 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 50.53 MB / 356.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.004176/0.1153, allocations: 1.572 MB / 358.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.1181, allocations: 0.9084 MB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.1182, allocations: 0 / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.1184, allocations: 11.92 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.875e-05/0.1185, allocations: 11.86 kB / 359.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.1188, allocations: 35.97 kB / 359.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.119, allocations: 119.7 kB / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1191, allocations: 20.22 kB / 359.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008019/0.12, allocations: 0.5615 MB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.1201, allocations: 63.7 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/0.1202, allocations: 4 kB / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.424e-05/0.1202, allocations: 4 kB / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1204, allocations: 71.69 kB / 360.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.1205, allocations: 103.2 kB / 360.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.1211, allocations: 358.7 kB / 360.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1211, allocations: 0 / 360.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1211, allocations: 0 / 360.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.1211, allocations: 0 / 360.7 MB, free: 10.57 MB / 302.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.001263/0.1224, allocations: 0.7308 MB / 361.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1224, allocations: 8.031 kB / 361.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.1226, allocations: 34.75 kB / 361.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1227, allocations: 40.47 kB / 361.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.1231, allocations: 278.3 kB / 361.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.1231, allocations: 8.375 kB / 361.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.1231, allocations: 8.375 kB / 361.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.1236, allocations: 137.2 kB / 361.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1236, allocations: 0 / 361.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.1236, allocations: 7.938 kB / 361.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1236, allocations: 4 kB / 362 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.1239, allocations: 55.97 kB / 362 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008358/0.1247, allocations: 456.6 kB / 362.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.125, allocations: 102.5 kB / 362.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.1252, allocations: 88.83 kB / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.1252, allocations: 0 / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005104/0.1257, allocations: 218.7 kB / 362.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.1258, allocations: 0 / 362.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001105/0.1269, allocations: 475.9 kB / 363.3 MB, free: 7.711 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/0.1271, allocations: 174.2 kB / 363.5 MB, free: 7.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009958/0.1281, allocations: 0.5129 MB / 364 MB, free: 6.984 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.1281, allocations: 33.7 kB / 364 MB, free: 6.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.1282, allocations: 97.14 kB / 364.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/0.1283, allocations: 35.62 kB / 364.2 MB, free: 6.812 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.1285, allocations: 77.42 kB / 364.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1286, allocations: 326.8 kB / 364.6 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.1288, allocations: 59.97 kB / 364.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.129, allocations: 73.67 kB / 364.7 MB, free: 6.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.1295, allocations: 351.2 kB / 365 MB, free: 5.867 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1296, allocations: 0 / 365 MB, free: 5.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007659/0.1303, allocations: 392.2 kB / 365.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.1305, allocations: 126.8 kB / 365.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1305, allocations: 128 / 365.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1305, allocations: 4 kB / 365.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.423e-05/0.1305, allocations: 8 kB / 365.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.1305, allocations: 0 / 365.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.1308, allocations: 16.12 kB / 365.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.402e-05/0.1309, allocations: 59.88 kB / 365.6 MB, free: 5.219 MB / 302.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.0004785/0.1314, allocations: 366.7 kB / 366 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.1315, allocations: 35.62 kB / 366 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.1316, allocations: 67.14 kB / 366.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1316, allocations: 0 / 366.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1316, allocations: 0 / 366.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1317, allocations: 3.984 kB / 366.1 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.133, allocations: 0.8284 MB / 366.9 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.133, allocations: 0 / 366.9 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.714e-06/0.1331, allocations: 3.984 kB / 366.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1331, allocations: 0 / 366.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.1331, allocations: 16 kB / 366.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1331, allocations: 0 / 366.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1332, allocations: 3.938 kB / 366.9 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009451/0.1341, allocations: 0.5291 MB / 367.5 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.1346, allocations: 256.4 kB / 367.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.1346, allocations: 12 kB / 367.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1349, allocations: 11.98 kB / 367.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.135, allocations: 31.91 kB / 367.8 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/0.1351, allocations: 55.94 kB / 367.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00066/0.1358, allocations: 382.9 kB / 368.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1358, allocations: 0 / 368.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004607/0.1362, allocations: 47.92 kB / 368.2 MB, free: 2.414 MB / 302.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.001392/0.1377, allocations: 1.094 MB / 369.3 MB, free: 1.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007826/0.1384, allocations: 437.5 kB / 369.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1385, allocations: 0 / 369.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004412/0.1389, allocations: 373.6 kB / 370.1 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/0.1397, allocations: 121 kB / 370.3 MB, free: 276 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1887/0.3284, allocations: 2.795 MB / 373 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.3287, allocations: 0.7993 MB / 373.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.858e-05/0.3288, allocations: 9.594 kB / 373.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.3289, allocations: 27.5 kB / 373.9 MB, free: 16.11 MB / 302.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3289, allocations: 2.625 kB / 373.9 MB, free: 16.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.3455, allocations: 5.615 MB / 379.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/0.3456, allocations: 197.3 kB / 379.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.108, allocations: 0 / 379.7 MB, free: 15.19 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches