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.001128/0.001128, allocations: 107.1 kB / 17.33 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.45 kB / 306.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1074, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002959/0.1104, allocations: 1.568 MB / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1122, allocations: 0.8849 MB / 359.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.1123, allocations: 4 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1124, allocations: 3.938 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.611e-05/0.1125, allocations: 19.91 kB / 359.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.1128, allocations: 35.97 kB / 359.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.113, allocations: 143.7 kB / 359.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1131, allocations: 24.22 kB / 359.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005866/0.1137, allocations: 0.5615 MB / 360.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1138, allocations: 75.69 kB / 360.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.1139, allocations: 8 kB / 360.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.87e-05/0.1139, allocations: 12 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/0.114, allocations: 63.7 kB / 360.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1141, allocations: 111.2 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.1144, allocations: 370.7 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1144, allocations: 0 / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1144, allocations: 0 / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1144, allocations: 0 / 360.8 MB, free: 10.52 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.0007353/0.1152, allocations: 0.7269 MB / 361.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1152, allocations: 8.031 kB / 361.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.1153, allocations: 40.47 kB / 361.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.1156, allocations: 270.3 kB / 361.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.1156, allocations: 12.38 kB / 361.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.1156, allocations: 8.375 kB / 361.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.116, allocations: 129.8 kB / 362 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.116, allocations: 4 kB / 362 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.116, allocations: 0 / 362 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.116, allocations: 8 kB / 362 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.1162, allocations: 55.97 kB / 362.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007423/0.117, allocations: 460.5 kB / 362.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.1172, allocations: 102.5 kB / 362.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1173, allocations: 84.89 kB / 362.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.1173, allocations: 0 / 362.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/0.1178, allocations: 214.6 kB / 362.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.1178, allocations: 0 / 362.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000845/0.1186, allocations: 479.6 kB / 363.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.1188, allocations: 166.2 kB / 363.6 MB, free: 7.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/0.1194, allocations: 0.513 MB / 364.1 MB, free: 7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.1194, allocations: 33.7 kB / 364.1 MB, free: 6.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.1195, allocations: 109 kB / 364.2 MB, free: 6.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.1196, allocations: 31.62 kB / 364.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.1197, allocations: 81.42 kB / 364.3 MB, free: 6.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1198, allocations: 326.8 kB / 364.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1199, allocations: 59.91 kB / 364.7 MB, free: 6.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1201, allocations: 73.67 kB / 364.8 MB, free: 6.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.1204, allocations: 347.3 kB / 365.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1204, allocations: 0 / 365.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005375/0.1209, allocations: 392.3 kB / 365.5 MB, free: 5.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.48e-05/0.1211, allocations: 126.8 kB / 365.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1211, allocations: 0 / 365.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1211, allocations: 0 / 365.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.14e-05/0.1211, allocations: 0 / 365.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1211, allocations: 4.078 kB / 365.6 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.1213, allocations: 16.03 kB / 365.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/0.1213, allocations: 63.91 kB / 365.7 MB, free: 5.23 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.0003414/0.1217, allocations: 367.7 kB / 366.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.1217, allocations: 35.56 kB / 366.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.287e-05/0.1218, allocations: 67.16 kB / 366.2 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1218, allocations: 0 / 366.2 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1219, allocations: 0 / 366.2 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1219, allocations: 0 / 366.2 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.1228, allocations: 0.8288 MB / 367 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1228, allocations: 0 / 367 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-06/0.1228, allocations: 0 / 367 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1228, allocations: 0 / 367 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.1229, allocations: 20.09 kB / 367 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1229, allocations: 3.938 kB / 367 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1229, allocations: 3.938 kB / 367 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006526/0.1236, allocations: 0.5365 MB / 367.6 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.1239, allocations: 248.4 kB / 367.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.1239, allocations: 12 kB / 367.8 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.1241, allocations: 11.98 kB / 367.8 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.1242, allocations: 27.92 kB / 367.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.1243, allocations: 64.05 kB / 367.9 MB, free: 2.844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004539/0.1247, allocations: 390.9 kB / 368.3 MB, free: 2.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1247, allocations: 0 / 368.3 MB, free: 2.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000282/0.125, allocations: 43.94 kB / 368.3 MB, free: 2.418 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.0001585/0.1252, allocations: 117.9 kB / 368.5 MB, free: 2.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005115/0.1257, allocations: 441.5 kB / 368.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1257, allocations: 0 / 368.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.126, allocations: 369.6 kB / 369.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.1266, allocations: 128.9 kB / 369.4 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1277, allocations: 0.7592 MB / 370.1 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1664/0.294, allocations: 0.7975 MB / 370.9 MB, free: 20.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.286e-05/0.2942, allocations: 11.11 kB / 370.9 MB, free: 20.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.2942, allocations: 18.81 kB / 371 MB, free: 20.28 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2942, allocations: 0 / 371 MB, free: 20.28 MB / 302.1 MB Notification: Performance of Templates: time 0.009208/0.3034, allocations: 4.55 MB / 375.5 MB, free: 19.85 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