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.0008207/0.0008206, allocations: 93.53 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.8 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 4 kB / 307.7 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1071, allocations: 51.52 MB / 359.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001713/0.1089, allocations: 1.229 MB / 360.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1108, allocations: 0.9007 MB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.1108, allocations: 0 / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.606e-05/0.111, allocations: 3.938 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.111, allocations: 19.91 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.1113, allocations: 43.91 kB / 361.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1115, allocations: 111.7 kB / 361.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1116, allocations: 12.23 kB / 361.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005854/0.1122, allocations: 0.5654 MB / 362.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1123, allocations: 63.7 kB / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.1124, allocations: 4 kB / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.376e-05/0.1124, allocations: 8 kB / 362.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-05/0.1125, allocations: 55.77 kB / 362.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.1126, allocations: 136.8 kB / 362.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.113, allocations: 354.6 kB / 362.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.113, allocations: 0 / 362.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.113, allocations: 0 / 362.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.113, allocations: 0 / 362.7 MB, free: 9.789 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.0006776/0.1137, allocations: 0.6531 MB / 363.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/0.1138, allocations: 12.03 kB / 363.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.1139, allocations: 36.47 kB / 363.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.1142, allocations: 282.3 kB / 363.7 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1142, allocations: 4.375 kB / 363.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1142, allocations: 12.38 kB / 363.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.1146, allocations: 129.9 kB / 363.9 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1146, allocations: 0 / 363.9 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.1146, allocations: 7.984 kB / 363.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1146, allocations: 0 / 363.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.1148, allocations: 67.94 kB / 363.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007115/0.1155, allocations: 456.5 kB / 364.4 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1157, allocations: 94.55 kB / 364.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.1159, allocations: 84.88 kB / 364.6 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.1159, allocations: 112 / 364.6 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003705/0.1163, allocations: 218.5 kB / 364.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.1163, allocations: 0 / 364.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008105/0.1171, allocations: 479.6 kB / 365.2 MB, free: 7.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.1172, allocations: 166.2 kB / 365.4 MB, free: 6.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006433/0.1179, allocations: 0.513 MB / 365.9 MB, free: 6.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.1179, allocations: 29.7 kB / 365.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.118, allocations: 105 kB / 366.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.1181, allocations: 39.52 kB / 366.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.1181, allocations: 29.7 kB / 366.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1183, allocations: 326.8 kB / 366.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1184, allocations: 55.97 kB / 366.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1186, allocations: 69.69 kB / 366.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.119, allocations: 343.2 kB / 366.9 MB, free: 5.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.119, allocations: 0 / 366.9 MB, free: 5.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005389/0.1195, allocations: 388.3 kB / 367.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.1196, allocations: 126.8 kB / 367.4 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1196, allocations: 0 / 367.4 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1197, allocations: 0 / 367.4 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.348e-05/0.1197, allocations: 0 / 367.4 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.1197, allocations: 7.938 kB / 367.4 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.1199, allocations: 15.89 kB / 367.4 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.12, allocations: 60.06 kB / 367.5 MB, free: 4.637 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.0004097/0.1204, allocations: 375.8 kB / 367.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.1204, allocations: 39.62 kB / 367.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1206, allocations: 63.14 kB / 367.9 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1206, allocations: 0 / 367.9 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1206, allocations: 0 / 367.9 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1206, allocations: 0 / 367.9 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.1216, allocations: 0.825 MB / 368.8 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1216, allocations: 3.938 kB / 368.8 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-06/0.1217, allocations: 3.984 kB / 368.8 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1217, allocations: 0 / 368.8 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.1217, allocations: 19.98 kB / 368.8 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1217, allocations: 0 / 368.8 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1217, allocations: 7.922 kB / 368.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/0.1224, allocations: 0.5326 MB / 369.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.1227, allocations: 248.4 kB / 369.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.1228, allocations: 8 kB / 369.6 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1229, allocations: 12 kB / 369.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.1231, allocations: 35.91 kB / 369.6 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.1231, allocations: 63.92 kB / 369.7 MB, free: 2.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004462/0.1236, allocations: 378.9 kB / 370.1 MB, free: 1.867 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1236, allocations: 0 / 370.1 MB, free: 1.867 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1239, allocations: 55.84 kB / 370.1 MB, free: 1.812 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.0001586/0.124, allocations: 117.9 kB / 370.2 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.1246, allocations: 433.5 kB / 370.7 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1246, allocations: 0 / 370.7 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.1249, allocations: 381.6 kB / 371 MB, free: 0.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.1255, allocations: 112.3 kB / 371.1 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1995/0.3251, allocations: 0.7506 MB / 371.9 MB, free: 19.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3255, allocations: 0.8012 MB / 372.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.715e-05/0.3256, allocations: 9.234 kB / 372.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.3256, allocations: 11.16 kB / 372.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3256, allocations: 0 / 372.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of Templates: time 0.009489/0.3351, allocations: 4.146 MB / 376.9 MB, free: 18.61 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/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_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches