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) 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: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 117.5 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 205.8 kB / 18.92 MB, free: 4.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247.1 MB, free: 8.949 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 62.2 kB / 307.1 MB, free: 0.6953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1053, allocations: 50.55 MB / 357.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003118/0.1084, allocations: 1.579 MB / 359.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.1104, allocations: 0.8772 MB / 360.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.1105, allocations: 4 kB / 360.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.837e-05/0.1106, allocations: 7.922 kB / 360.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.436e-05/0.1107, allocations: 7.938 kB / 360.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.111, allocations: 43.95 kB / 360.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1112, allocations: 143.7 kB / 360.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1113, allocations: 20.22 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000612/0.1119, allocations: 0.5654 MB / 360.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.1121, allocations: 71.69 kB / 361 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.588e-05/0.1121, allocations: 12 kB / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.842e-05/0.1122, allocations: 12 kB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.484e-05/0.1123, allocations: 67.7 kB / 361.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.1124, allocations: 115.2 kB / 361.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.1127, allocations: 299.4 kB / 361.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1127, allocations: 0 / 361.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1127, allocations: 0 / 361.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1127, allocations: 0 / 361.5 MB, free: 10.32 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.0008536/0.1136, allocations: 0.7307 MB / 362.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1136, allocations: 8.031 kB / 362.2 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.083e-05/0.1137, allocations: 40.47 kB / 362.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1141, allocations: 278.3 kB / 362.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.1141, allocations: 8.359 kB / 362.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.1142, allocations: 8.375 kB / 362.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.1145, allocations: 129.9 kB / 362.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1145, allocations: 0 / 362.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.1145, allocations: 8 kB / 362.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1146, allocations: 3.938 kB / 362.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.1147, allocations: 59.91 kB / 362.7 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.1154, allocations: 460.6 kB / 363.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.1156, allocations: 98.48 kB / 363.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.1158, allocations: 84.89 kB / 363.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.1158, allocations: 3.984 kB / 363.4 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.1162, allocations: 214.6 kB / 363.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.1162, allocations: 0 / 363.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008764/0.1171, allocations: 476.1 kB / 364.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.1173, allocations: 170.1 kB / 364.2 MB, free: 7.305 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006999/0.118, allocations: 0.5091 MB / 364.7 MB, free: 6.789 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.118, allocations: 33.7 kB / 364.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.1181, allocations: 101 kB / 364.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.1182, allocations: 27.66 kB / 364.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.1183, allocations: 81.42 kB / 365 MB, free: 6.535 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1185, allocations: 330.8 kB / 365.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.1186, allocations: 55.97 kB / 365.3 MB, free: 6.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1188, allocations: 77.67 kB / 365.4 MB, free: 6.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.1191, allocations: 342.7 kB / 365.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1192, allocations: 64 / 365.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006/0.1198, allocations: 396.3 kB / 366.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.1199, allocations: 134.7 kB / 366.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1199, allocations: 0 / 366.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1199, allocations: 0 / 366.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.662e-05/0.1199, allocations: 4 kB / 366.3 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.12, allocations: 0 / 366.3 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.1201, allocations: 11.98 kB / 366.3 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-05/0.1202, allocations: 55.94 kB / 366.3 MB, free: 5.035 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.0003866/0.1206, allocations: 363.8 kB / 366.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.1207, allocations: 39.66 kB / 366.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.1208, allocations: 67.14 kB / 366.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1208, allocations: 0 / 366.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1208, allocations: 0 / 366.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1208, allocations: 3.984 kB / 366.8 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.1219, allocations: 0.8327 MB / 367.6 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1219, allocations: 0 / 367.6 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-06/0.1219, allocations: 0 / 367.6 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1219, allocations: 0 / 367.6 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.122, allocations: 16 kB / 367.7 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.122, allocations: 0 / 367.7 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.122, allocations: 3.938 kB / 367.7 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.1227, allocations: 0.5253 MB / 368.2 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.1231, allocations: 260.3 kB / 368.4 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.1231, allocations: 8 kB / 368.4 MB, free: 2.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1233, allocations: 12.17 kB / 368.5 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.1235, allocations: 31.91 kB / 368.5 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.979e-05/0.1235, allocations: 63.94 kB / 368.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005203/0.1241, allocations: 382.9 kB / 368.9 MB, free: 2.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1241, allocations: 0 / 368.9 MB, free: 2.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000306/0.1244, allocations: 51.92 kB / 369 MB, free: 2.219 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.0001828/0.1246, allocations: 117.9 kB / 369.1 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005849/0.1252, allocations: 437.5 kB / 369.5 MB, free: 1.617 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1252, allocations: 0 / 369.5 MB, free: 1.617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.1256, allocations: 381.6 kB / 369.9 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.1262, allocations: 117.5 kB / 370 MB, free: 1.094 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1275, allocations: 0.7998 MB / 370.8 MB, free: 268 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1555/0.2831, allocations: 0.8013 MB / 371.6 MB, free: 20.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.2831, allocations: 12.22 kB / 371.6 MB, free: 20 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2831, allocations: 0 / 371.6 MB, free: 20 MB / 302.1 MB Notification: Performance of Templates: time 0.005876/0.289, allocations: 2.679 MB / 374.3 MB, free: 19.77 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches