Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 107.6 kB / 21.19 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 207.5 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 47.94 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2847, allocations: 53.37 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00266/0.2874, allocations: 1.479 MB / 433.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.2894, allocations: 0.8343 MB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.2894, allocations: 7.938 kB / 434.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.2895, allocations: 7.922 kB / 434.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.93e-05/0.2896, allocations: 15.86 kB / 434.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.2899, allocations: 55.88 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.2901, allocations: 127.7 kB / 434.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2902, allocations: 16.22 kB / 434.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006761/0.2909, allocations: 0.5733 MB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.2911, allocations: 79.61 kB / 435.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.2911, allocations: 12 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.133e-05/0.2912, allocations: 12 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.2913, allocations: 59.77 kB / 435.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.2914, allocations: 83.3 kB / 435.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.2918, allocations: 381.1 kB / 436.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2918, allocations: 0 / 436.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2918, allocations: 3.938 kB / 436.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.2918, allocations: 0 / 436.1 MB, free: 3.016 MB / 334.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.0007992/0.2926, allocations: 0.6553 MB / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2926, allocations: 12.03 kB / 436.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.2927, allocations: 40.7 kB / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.293, allocations: 224.8 kB / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.293, allocations: 4.375 kB / 437 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.2931, allocations: 8.375 kB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.2934, allocations: 244.7 kB / 437.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2935, allocations: 4 kB / 437.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.2935, allocations: 4 kB / 437.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2935, allocations: 0 / 437.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.2937, allocations: 182.7 kB / 437.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.2944, allocations: 388.2 kB / 437.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.2947, allocations: 201.3 kB / 438 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.2949, allocations: 183.6 kB / 438.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.2949, allocations: 0 / 438.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004545/0.2954, allocations: 333.5 kB / 438.5 MB, free: 300 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.2954, allocations: 0 / 438.5 MB, free: 300 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001014/0.2964, allocations: 0.6993 MB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.2965, allocations: 170.1 kB / 439.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/0.2972, allocations: 0.513 MB / 439.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.2972, allocations: 29.81 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.2973, allocations: 105 kB / 440 MB, free: 14.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.2973, allocations: 31.8 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.2975, allocations: 85.55 kB / 440.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2976, allocations: 326.8 kB / 440.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.2978, allocations: 174.8 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.298, allocations: 192.5 kB / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.2984, allocations: 355.2 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2984, allocations: 0 / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006719/0.2991, allocations: 0.5097 MB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.2992, allocations: 126.8 kB / 441.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2992, allocations: 4.031 kB / 441.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2992, allocations: 0 / 441.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.107e-05/0.2993, allocations: 3.984 kB / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2993, allocations: 4 kB / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.2994, allocations: 12 kB / 441.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.2995, allocations: 59.92 kB / 441.9 MB, free: 12.59 MB / 350.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.0003941/0.2999, allocations: 366.5 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.2999, allocations: 39.77 kB / 442.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.3, allocations: 63.09 kB / 442.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3, allocations: 0 / 442.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3, allocations: 8 kB / 442.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3001, allocations: 0 / 442.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.3012, allocations: 0.8667 MB / 443.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3012, allocations: 4.062 kB / 443.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-06/0.3012, allocations: 0 / 443.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3012, allocations: 0 / 443.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.3012, allocations: 12 kB / 443.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3012, allocations: 3.984 kB / 443.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3012, allocations: 0 / 443.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/0.302, allocations: 0.6531 MB / 443.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.3024, allocations: 217.3 kB / 444.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.3025, allocations: 12 kB / 444.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3026, allocations: 8 kB / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.3027, allocations: 35.84 kB / 444.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/0.3028, allocations: 55.98 kB / 444.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005065/0.3033, allocations: 382.9 kB / 444.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3033, allocations: 0 / 444.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.3036, allocations: 47.88 kB / 444.6 MB, free: 9.652 MB / 350.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.000139/0.3038, allocations: 109.9 kB / 444.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006679/0.3044, allocations: 0.6163 MB / 445.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3044, allocations: 0 / 445.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.3048, allocations: 428.3 kB / 445.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.3054, allocations: 119.1 kB / 445.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.3067, allocations: 0.8139 MB / 446.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.3069, allocations: 189.7 kB / 446.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.307, allocations: 11.5 kB / 446.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.307, allocations: 8 kB / 446.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of Templates: time 0.004939/0.3119, allocations: 2.687 MB / 449.6 MB, free: 4.387 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.589769859798253]