Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001045, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 54.83 kB / 300.6 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1068, allocations: 49.45 MB / 350 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00296/0.1099, allocations: 1.506 MB / 351.6 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.1119, allocations: 0.8551 MB / 352.4 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.112, allocations: 4 kB / 352.4 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.1121, allocations: 15.8 kB / 352.4 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.227e-05/0.1122, allocations: 11.88 kB / 352.4 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1125, allocations: 51.88 kB / 352.5 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1127, allocations: 143.7 kB / 352.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1129, allocations: 20.22 kB / 352.6 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006235/0.1135, allocations: 0.5576 MB / 353.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1137, allocations: 71.75 kB / 353.3 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.1137, allocations: 8 kB / 353.3 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.915e-05/0.1138, allocations: 12 kB / 353.3 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1139, allocations: 63.7 kB / 353.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.114, allocations: 123.2 kB / 353.5 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.1144, allocations: 362.7 kB / 353.8 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1144, allocations: 3.938 kB / 353.8 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1144, allocations: 0 / 353.8 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1144, allocations: 0 / 353.8 MB, free: 0.6172 MB / 286.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.001058/0.1155, allocations: 0.7256 MB / 354.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1155, allocations: 8.031 kB / 354.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.328e-05/0.1156, allocations: 40.47 kB / 354.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.1161, allocations: 274.3 kB / 354.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.1161, allocations: 12.38 kB / 354.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.1162, allocations: 8.375 kB / 354.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.1165, allocations: 129.9 kB / 355 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1166, allocations: 0 / 355 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.1166, allocations: 4 kB / 355 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1166, allocations: 0 / 355 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.1168, allocations: 55.97 kB / 355.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.1175, allocations: 476.5 kB / 355.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1177, allocations: 90.55 kB / 355.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.1179, allocations: 84.89 kB / 355.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.1179, allocations: 3.938 kB / 355.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004359/0.1184, allocations: 202.7 kB / 355.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.1184, allocations: 4 kB / 355.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008788/0.1193, allocations: 487.4 kB / 356.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.1194, allocations: 162.2 kB / 356.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.1202, allocations: 0.5091 MB / 357.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.1202, allocations: 37.64 kB / 357.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.1203, allocations: 101 kB / 357.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.1204, allocations: 35.62 kB / 357.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.1205, allocations: 77.53 kB / 357.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1207, allocations: 338.7 kB / 357.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1208, allocations: 55.97 kB / 357.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.121, allocations: 77.67 kB / 357.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.1213, allocations: 351.2 kB / 358.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1213, allocations: 0 / 358.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005344/0.1219, allocations: 376.3 kB / 358.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.1221, allocations: 126.8 kB / 358.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1221, allocations: 4.031 kB / 358.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.1221, allocations: 7.984 kB / 358.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.502e-05/0.1222, allocations: 3.938 kB / 358.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1222, allocations: 0 / 358.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.1224, allocations: 11.91 kB / 358.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.814e-05/0.1225, allocations: 59.92 kB / 358.7 MB, free: 11.34 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.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.0005184/0.123, allocations: 366.7 kB / 359.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/0.1231, allocations: 35.62 kB / 359.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.1233, allocations: 67.16 kB / 359.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1233, allocations: 0 / 359.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1233, allocations: 0 / 359.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1233, allocations: 0 / 359.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.1249, allocations: 0.8251 MB / 360 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1249, allocations: 0 / 360 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/0.1249, allocations: 192 / 360 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1249, allocations: 4 kB / 360 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.125, allocations: 15.98 kB / 360 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.125, allocations: 0 / 360 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.125, allocations: 7.938 kB / 360 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009794/0.126, allocations: 0.5438 MB / 360.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.1265, allocations: 240.5 kB / 360.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.439e-05/0.1266, allocations: 8 kB / 360.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.1268, allocations: 11.98 kB / 360.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.127, allocations: 27.92 kB / 360.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.1271, allocations: 55.98 kB / 360.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007289/0.1278, allocations: 394.8 kB / 361.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1278, allocations: 0 / 361.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005462/0.1284, allocations: 47.91 kB / 361.3 MB, free: 8.535 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,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.0002227/0.1286, allocations: 121.8 kB / 361.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007949/0.1294, allocations: 437.5 kB / 361.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1294, allocations: 0 / 361.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005036/0.13, allocations: 381.5 kB / 362.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/0.131, allocations: 120.2 kB / 362.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.1327, allocations: 0.6573 MB / 363 MB, free: 6.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/0.1334, allocations: 0.806 MB / 363.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.416e-05/0.1334, allocations: 8.656 kB / 363.8 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.1335, allocations: 15.38 kB / 363.8 MB, free: 5.863 MB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1335, allocations: 0 / 363.8 MB, free: 5.863 MB / 302.1 MB Notification: Performance of Templates: time 0.01291/0.1464, allocations: 4.666 MB / 368.5 MB, free: 1.133 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches